umayr / generator-ng-bat

Yeoman generator for Angular 1.x powered by Webpack.
https://github.com/umayr/generator-ng-bat
MIT License
2 stars 4 forks source link

Generator not working on windows. #7

Closed uzairalikhan closed 8 years ago

uzairalikhan commented 8 years ago

Node v4.2.2

Error:

λ yo ng-bat
module.js:339
    throw err;
    ^

Error: Cannot find module '../../utils'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (C:\Users\uzair.ali\AppData\Roaming\nvm\v4.2.2\node_modules\generator-ng-bat\generators\app\index.js:8:13)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
uzairalikhan commented 8 years ago

Its not windows only issue.

npm is not copying utils.js