-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
Describe the bug
Building code on master results in error when executing any task.
To reproduce
- Checkout master branch
- Run
npm install && npm run fullBuild - Run
node ./package/Tasks/AWSCLI/AWSCLI.js(or any other task)
The following error occurs:
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/mnt/c/Users/UI725000/git/aws-toolkit-azure-devops/build/npmcache/package/Tasks/AWSCLI/AWSCLI.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
Same applies when publishing the module and trying in a 'real' environment.
Tested with multiple node/npm versions
Expected behavior
- Task is running in real enviorment
- Task will start, but then complain about missing parameters when running locally
Additional context
- Works when checking out the latest release
- Might relate to Cannot use JS bundler because of shelljs dependency microsoft/azure-pipelines-task-lib#942
Metadata
Metadata
Assignees
Labels
No labels