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 fails on windows #12

Open
jhogins opened this issue Aug 20, 2016 · 2 comments
Open

npm install fails on windows #12

jhogins opened this issue Aug 20, 2016 · 2 comments

Comments

@jhogins
Copy link

jhogins commented Aug 20, 2016

When running npm install on windows I get the following error:

react-media-player@0.5.0 prebuild D:\srchome\github\react-media-player
rm -rf dist && mkdir dist

'rm' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"

npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! react-media-player@0.5.0 prebuild: rm -rf dist && mkdir dist
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-media-player@0.5.0 prebuild script 'rm -rf dist && mkdir dist'.
npm ERR! This is most likely a problem with the react-media-player package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! rm -rf dist && mkdir dist
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs react-media-player
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls react-media-player
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\srchome\github\react-media-player\npm-debug.log

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "instal"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! react-media-player@0.5.0 prepublish: npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-media-player@0.5.0 prepublish script 'npm run build'.
npm ERR! This is most likely a problem with the react-media-player package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs react-media-player
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls react-media-player
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\srchome\github\react-media-player\npm-debug.log

npm-debug.log.txt

@souporserious
Copy link
Owner

Thanks for the report. It looks like it may be due to the Mac terminal commands I'm using. I'm not familiar with Windows and don't have access to one right now so it may take a little bit to fix this. Please feel free to create a PR if you are able to fix it.

@Eason-Wu
Copy link

we are facing the same error ...

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

3 participants