Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with the version 3.0.13 : ##[error]Unhandled: Cannot find module '../lib/Utils' #327

Closed
sebfantini opened this issue May 11, 2020 · 7 comments
Assignees

Comments

@sebfantini
Copy link

sebfantini commented May 11, 2020

Hello,
I downloaded and registered the extension in my AzDevopsAccount.
Next, when I use the simple code in Azure pipeline YAML :

  • task: AzureAppConfiguration@3
    inputs:
    azureSubscription: 'myAzDevopsEndPoint'
    ConfigstoreName: 'myazureaccountconfiguration'
    KeyFilter: '*'

I have the error bellow :
##[error]Unhandled: Cannot find module '../lib/Utils'

Thanks for your help,

@Yiming-Jia
Copy link
Contributor

Hello @sebfantini ,

Sorry for the inconvenience here. Do you run the task through Azure DevOps pipeline? The reason that we ask is that we just found the task could be ran in both Azure DevOps Services and Azure DevOps Server. And we have been testing the task against Azure DevOps Services and I cannot reproduce this issue. Could you also try to downgrade to version 2.* and try it once. Thanks

@sebfantini
Copy link
Author

Hello @Yiming-Jia
Thank you for your quick response. We use Azure Devops Services' YAML Pipelines.
We installed, uninstalled and reinstalled the latest version of the extension (version 3). And it's always that same error that appears when using the extension in the pipeline.
How can I install and use version 2 of the extension ? or how can I downgrade to version 2.* ?
You will find screen copies attached to this message.
2020-05-12_10-00-50
2020-05-12_10-05-15
2020-05-12_10-07-16

@Yiming-Jia
Copy link
Contributor

Hello,

Thank you for the information. When specify the task name at yaml file, you could use AzureAppConfiguration@2 to use version 2.* to see if it works. I'm looking for a fix for version 3.*.

@sebfantini
Copy link
Author

Hello,
When I use AzureAppConfiguration@2, I have the error : "Build Not found" :
2020-05-13_12-07-58

@Yiming-Jia
Copy link
Contributor

Hello @sebfantini ,

We just published a newer version of the task to fix this issue in Linux environment. Please try the build again and let us know if it still doesn't work.

Thanks,
Yiming

@sebfantini
Copy link
Author

Hello @Yiming-Jia ,
It works with the new version (3.0.14).
Congratulation and thank you for your work.
You can close this issue.

@sebfantini
Copy link
Author

I close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants