pandawing / generator-nm5

A Cross-Platform Node.js ES5 Module Generator For OS X, Linux And Windows.
MIT License
1 stars 2 forks source link

Use fixpack directly instead of spawn('npm', 'run', 'fixpack') #57

Open sanemat opened 8 years ago

sanemat commented 8 years ago

This brings not-understandable error on windows.

https://ci.appveyor.com/project/sanemat/generator-nm5/build/1.0.169/job/cjfi0qu4vl8klpsk

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\projects\\generator-nm5\\node_modules\\npm\\bin\\npm-cli.js" "run" "fixpack"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.10
npm ERR! code MODULE_NOT_FOUND

npm ERR! Cannot find module 'undefined'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

> test@0.0.0 fixpack C:\projects\generator-nm5\temp
> fixpack

missing main
missing bugs
missing homepage
package.json fixed!
sanemat commented 8 years ago

https://github.com/pandawing/generator-nm5/pull/56

sanemat commented 8 years ago

I don't solve this yet ;(