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: Cannot find module 'vsts-task-lib' #64

Closed
zulalay opened this issue Apr 6, 2016 · 3 comments
Closed

Error: Cannot find module 'vsts-task-lib' #64

zulalay opened this issue Apr 6, 2016 · 3 comments

Comments

@zulalay
Copy link

zulalay commented Apr 6, 2016

Hey guys.
Everything worked fine untill today. And now when i add Cordova Command to my build steps i get
Set workingFolder to default: D:\agent\tasks\CordovaCommand\1.2.0

module.js:338
throw err;
Error: Cannot find module 'vsts-task-lib'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)

at Object. (D:\agent\tasks\CordovaCommand\1.2.0\lib\vsts-task-lib-proxy.js:35:7)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)

any ideas or hint where should i look at?

@Jonlondon
Copy link

Hi, I got the same issue.

@chrispat
Copy link

chrispat commented Apr 7, 2016

Where did the CordovaCommand task come from? They should be including that module in their package.

@bryanmacfarlane
Copy link
Contributor

This is an issue in the cordova task. It's the one that can't find the task lib via it's proxy. It's not an issue with the lib that the consumer can't find it.

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

No branches or pull requests

4 participants