michaelkrone / generator-material-app

Yet another yeoman generator for scaffolding a simple Node.js/Express/MongoDB/Angular.js app using some material design elements.
MIT License
177 stars 47 forks source link

Error: Cannot find module '***/protractor/bin/webdriver-manager' #97

Closed prabashbala closed 8 years ago

prabashbala commented 8 years ago

Error while running 'bower install & npm install' to install the required dependencies. Error log below.

111332 verbose cwd /home/ubuntu/workspace/app 111333 error Linux 4.2.0-c9 111334 error argv "/home/ubuntu/.nvm/versions/node/v6.0.0/bin/node" "/home/ubuntu/.nvm/versions/node/v6.0.0/bin/npm" "install" 111335 error node v6.0.0 111336 error npm v3.10.2 111337 error code ELIFECYCLE 111338 error app@0.0.0 postinstall: node ./node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update 111338 error Exit status 1 111339 error Failed at the app@0.0.0 postinstall script 'node ./node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update'. 111339 error Make sure you have the latest version of node.js and npm installed. 111339 error If you do, this is most likely a problem with the app package, 111339 error not with npm itself. 111339 error Tell the author that this fails on your system: 111339 error node ./node_modules/gulp-protractor/node_modules/protractor/bin/webdriver-manager update 111339 error You can get information on how to open an issue for this project with: 111339 error npm bugs app 111339 error Or if that isn't available, you can get their info via: 111339 error npm owner ls app 111339 error There is likely additional logging output above. 111340 verbose exit [ 1, true ]

Stupidism commented 8 years ago

Change gulp-protractor/node_modules/protractor/ in package.json to protractor/. You'd best wait for next release...

prabashbala commented 8 years ago

Thanks , it worked.