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

install react app command doesn't work properly. CALL ... is not recognized as an internal or external command appears #2445

Closed
sahin52 opened this issue Jan 27, 2020 · 3 comments

Comments

@sahin52
Copy link

sahin52 commented Jan 27, 2020

I am trying to create a react application in my localhost, but I am not able to.
When I type "npm install -g create-react-app" and hit enter an error happens:
'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external command, operable program or batch file.

After that when I create a react app and start I get this:
npm ERR! missing script: start
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sahin\AppData\Roaming\npm-cache_logs\2020-01-27T03_57_12_848Z-debug.log

when I add start script in manifest I get these:

npm ERR! code ELIFECYCLE
npm ERR! syscall spawn C:\Python27\Scripts
npm ERR! file C:\Python27\Scripts
npm ERR! path C:\Python27\Scripts
npm ERR! errno ENOENT
npm ERR! [email protected] start: node your-script.js
npm ERR! spawn C:\Python27\Scripts ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@richardlau richardlau transferred this issue from nodejs/build Jan 27, 2020
@Hakerh400
Copy link

Hakerh400 commented Jan 27, 2020

Same error as in #1019, #1981, #2054, #2266

However, none of the linked issues seem to provide a solution or explanation why it happens. The explanation in #1019 (comment) seems somewhat reasonable though.

@PoojaDurgad
Copy link

@sahin52 - is this issue resolved?
for me with your issue seems like your installation requires python , if it is installed make sure it is configured correctly or else installing python may resolve your issue

@PoojaDurgad
Copy link

inactive. closing!! feel free to re-open if that is not the case.

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