Open artuan opened 8 years ago
Thanks for reporting this, i'll take a look at it tomorrow for you
@pilsy I discovered clever yesterday and I would like to start my new project with it.. thank you!
Same issue on OS X 10.11.1. node v4.3.1 npm 2.14.12 grunt-cli v0.1.13 grunt v0.4.5
Skipping protractor installation (-S) worked for me
Your welcome @artuan :+1:
@ilmesi That is spot on, and usually something that i do anyway (since Protractor is the last step in the installation/init process even when Protractor installation fails everything is still technically fully setup and ready to go)
@artuan Are you by any chance behind a proxy? if so you might need to set your HTTP_PROXY and HTTPS_PROXY environment variables? If it's not that i would suggest running npm run-script setup-protractor
from inside your frontend folder... If that doesn't work, run grunt webdriver:update
directly in your frontend directory
@pilsy Thank you for your help, I apologize for the late response.
Unfortunately both solutions are not working :/
`npm run-script setup-protractor
angular-seed@1.2.0-rc-2 setup-protractor /Users/artuan/Documents/test/my-app/frontend grunt webdriver:update
Loading "Gruntfile.js" tasks...ERROR
Error: Cannot find module 'utils' Warning: Task "webdriver:update" not found. Use --force to continue.
Aborted due to warnings.
npm ERR! Darwin 15.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "run-script" "setup-protractor"
npm ERR! node v0.12.7
npm ERR! npm v3.7.2
npm ERR! code ELIFECYCLE
npm ERR! angular-seed@1.2.0-rc-2 setup-protractor: grunt webdriver:update
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the angular-seed@1.2.0-rc-2 setup-protractor script 'grunt webdriver:update'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt webdriver:update
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular-seed
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls angular-seed
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /Users/artuan/Documents/test/my-app/frontend/npm-debug.log Artuan-iMac:frontend artuan$ grunt webdriver:update Loading "Gruntfile.js" tasks...ERROR
Error: Cannot find module 'utils' Warning: Task "webdriver:update" not found. Use --force to continue.
Aborted due to warnings.`
The "Cannot find module 'utils'" error is caused by not setting your NODE_PATH, take a look at http://cleverstack.io/documentation/backend/#setting-your-node-path
@pilsy It worked!
Thank you for the support.
As @artuan have mentioned, setting the NODE_PATH worked for me as well. Perhaps the cleverstack-cli needs a tweak to set this environment variable when running the clever init
command, thus, avoiding this error?
PS: I've asked a question in this issue, but I've already removed it because I've gotten its answer from reading the docs, by understanding stuff behind the hood of CleverStack. Thank you @pilsy for this great work, I'm doing my best to learn to use it properly!
Hello,
I've tried to install clever on mac os El Capitan(10.11.3) With this error:
Then I tried install cleaver on ubuntu server also without success.
Error:
Haw can I solve this? Thank you