PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

Errors I can't handle #169

Closed ivanberry closed 7 years ago

ivanberry commented 8 years ago

Once I run the gulp , It will change the PWD to E:( yeah , my OS is window 7), below I will post the error message:

$ gulp
[08:58:23] Working directory changed to E:\
module.js:341
    throw err;
    ^

Error: Cannot find module 'del'
    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:20:19)
    at Object.<anonymous> (E:\gulpfile.js:5:13)
    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)

yeah, I noticed the missing module, so I do this:

npm install del --save-dev

and also change the working directory to E:\ ,and run it again, Yes , I have module del now, but there is another missing!

so, I miss something?

Thanks!

ivanberry commented 8 years ago

I have try something, and it seems fix it, but I dont why exactly.

why my gulp dont load the gulpfile.babel.js under NG6, but changed the directory up to e:\, so I use the gulp --gulpfile to hack this.

Yeah, the gulp task runs and I can do my leainging on Angular . Thanks!

fesor commented 7 years ago

Closing this.