Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install -g devkit on windows #276

Open
sous-studio opened this issue Jan 21, 2017 · 1 comment
Open

npm install -g devkit on windows #276

sous-studio opened this issue Jan 21, 2017 · 1 comment

Comments

@sous-studio
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants