Comments (9)
Thanks for reporting this, i'll take a look at it tomorrow for you
from cleverstack-cli.
@pilsy I discovered clever yesterday and I would like to start my new project with it..
thank you!
from cleverstack-cli.
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
from cleverstack-cli.
Skipping protractor installation (-S) worked for me
from cleverstack-cli.
Your welcome @artuan 👍
@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
from cleverstack-cli.
@pilsy
Thank you for your help, I apologize for the late response.
Unfortunately both solutions are not working :/
`npm run-script setup-protractor
[email protected] 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! [email protected] setup-protractor: grunt webdriver:update
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the [email protected] 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.`
from cleverstack-cli.
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
from cleverstack-cli.
@pilsy It worked!
Thank you for the support.
from cleverstack-cli.
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!
from cleverstack-cli.
Related Issues (20)
- clever install clever-background-tasks fails HOT 2
- clever install clever-subscription fails HOT 1
- Implement more robust multi line support in REPL
- clever init hangs at 7% - Downloading and extracting node-seed HOT 1
- CLI Init Issue (freezes) HOT 2
- error clever init HOT 5
- clever init error HOT 1
- generate new project error. HOT 1
- Install/Setup Failure HOT 3
- Command failed: setup-protractor while using `clever init` fails HOT 3
- Download utility ignores HTTP_PROXY on windows 7
- Why is this keyword'ed with Yeoman?
- error while installing express in windows
- clever init stuck at 21% HOT 11
- Which Node / npm version do you recommend for init process?
- Problems when creating new modules with 'new'
- CLI stuck on new app init HOT 13
- problema al crear proyecto HOT 1
- High severity vulnerability affecting this repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cleverstack-cli.