play-co / devkit

HTML 5 game platform for browser and mobile
http://docs.gameclosure.com
622 stars 126 forks source link

npm install -g devkit on windows #276

Open sous-studio opened 7 years ago

sous-studio commented 7 years ago

npm install -g devkit on windows

`C:\Users\User1\AppData\Roaming\npm\devkit -> C:\Users\User1\AppData\Roaming\npm\node_modules\devkit\src\devkit.js

devkit@3.1.3 postinstall C:\Users\User1\AppData\Roaming\npm\node_modules\devkit sh scripts/postinstall.sh

'sh' is not recognized as an internal or external command, operable program or batch file. npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\User1\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "-g" "devkit" npm ERR! node v7.4.0 npm ERR! npm v4.1.1 npm ERR! code ELIFECYCLE

npm ERR! devkit@3.1.3 postinstall: sh scripts/postinstall.sh npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the devkit@3.1.3 postinstall script 'sh scripts/postinstall.sh'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the devkit package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! sh scripts/postinstall.sh npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs devkit npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls devkit npm ERR! There is likely additional logging output above.

C:>devkit 'sh' is not recognized as an internal or external command, operable program or batch file.`

pandanautinspace commented 6 years ago

Probably late, but - The Windows Install Instructions say to run all the commands from git bash. Seems like you were using normal command prompt.