Coder Social home page Coder Social logo

Comments (9)

pilsy avatar pilsy commented on July 30, 2024

Thanks for reporting this, i'll take a look at it tomorrow for you

from cleverstack-cli.

artuan avatar artuan commented on July 30, 2024

@pilsy I discovered clever yesterday and I would like to start my new project with it..
thank you!

from cleverstack-cli.

ilmesi avatar ilmesi commented on July 30, 2024

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.

ilmesi avatar ilmesi commented on July 30, 2024

Skipping protractor installation (-S) worked for me

from cleverstack-cli.

pilsy avatar pilsy commented on July 30, 2024

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.

artuan avatar artuan commented on July 30, 2024

@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.

pilsy avatar pilsy commented on July 30, 2024

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.

artuan avatar artuan commented on July 30, 2024

@pilsy It worked!

Thank you for the support.

from cleverstack-cli.

fmoliveira avatar fmoliveira commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.