mcfly-io / generator-mcfly

A Yeoman generator for scaffolding an application using angular, browserify, ionic and famous
323 stars 43 forks source link

how to install the dependencies?gulp not work. #313

Closed axetroy closed 8 years ago

axetroy commented 8 years ago

even I run command

./bin/prepublish.sh

and the dependencies has been install in global env

but when I run gulpd.

it will report some error like

[axetroy@axetroy-pc mcfly-ionic]$ gulp browsersync
module.js:341
    throw err;
    ^

Error: Cannot find module 'gulp-help'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/home/axetroy/developer/angular/mcfly-ionic/gulpfile.js:4:1)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)

and then ,ok~~!i will install it by hand.

and then it will require other module some one can't install.

so,the question is:

how to install all the dependencies?

somebody can tell?

thaiat commented 8 years ago

npm install

axetroy commented 8 years ago

@thaiat not work~! the dependencies not write in package.json but in prepublish.sh

[npm install] mean nothing install

thaiat commented 8 years ago

sorry but you ll have to be more explicit about what you are doing

this is standard nodejs, npm install cannot "not work"....

prestonvanloon commented 8 years ago

A lot of the dependencies are not in the package.json. npm install does not install those missing dependencies

prestonvanloon commented 8 years ago

Might be a duplicate of #306

thaiat commented 8 years ago

i have just updated the package, can you with the latest version ?

prestonvanloon commented 8 years ago

To replicate this error:

I will try updating to the latest version

prestonvanloon commented 8 years ago

v2.0.5 seems to work just fine. Thanks!

thaiat commented 8 years ago

cool, closing this issue for now, feel free to reopen