CleverStack / cleverstack-cli

CLI for CleverStack
http://youtube.com/watch?v=-4ArURHExhQ
MIT License
196 stars 33 forks source link

clever install clever-background-tasks fails #71

Open g1205610 opened 9 years ago

g1205610 commented 9 years ago

$ node --version v0.10.38 $ cd test001038/backend/modules/ $ clever install clever-background-tasks Attempting to install clever-background-tasks... ├── Searching for modules... ├── Searching NPM... ├── Searching Bower... ├── ⚠ Installing clever-background-tasks... ├── Installing NPM modules for clever-background-tasks... ✔ Successfully installed clever-background-tasks... ├── Installing module peerDependencies... ├── ⚠ Running grunt tasks for module clever-background-tasks... ReferenceError: runTask is not defined

pilsy commented 9 years ago

I believe i have fixed the issues in Release 1.2.7 - can you please run npm install -g cleverstack-cli and try again? (if your running that on linux/mac then you may need to use sudo)

g1205610 commented 9 years ago

Output has changed slightly:

$ clever -V
1.2.7

$ clever install clever-background-tasks
Attempting to install clever-background-tasks...
  ├── Searching for modules...
  ├──   Searching NPM...
  ├──   Searching Bower...
  ├── ⚠ Installing clever-background-tasks...
  ├── Installing NPM modules for clever-background-tasks...
✔    Successfully installed clever-background-tasks...
  ├── Installing module peerDependencies...
  ├── ⚠ Running grunt tasks for module clever-background-tasks...
Loading "Gruntfile.js" tasks...ERROR
>> TypeError: Cannot call method 'indexOf' of undefined
Warning: Task "prompt:cleverBackgroundTasksConfig" not found. Use --force to continue.

Aborted due to warnings.
✔  Successfully installed.
´´´