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 error #5

Closed
himanshishrivas opened this issue Jan 10, 2021 · 1 comment
Closed

npm error #5

himanshishrivas opened this issue Jan 10, 2021 · 1 comment

Comments

@himanshishrivas
Copy link

'jest' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Test failed. See above for more details.

I received this as I perform "npm test"
and also while installing "jest", I m getting these errors[below]:

npm ERR! Unexpected end of JSON input while parsing near '...JdmT3/CRA9TVsSAnZWagA'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ASUS\AppData\Roaming\npm-cache_logs\2021-01-10T14_50_49_746Z-debug.log

@dhhruv
Copy link
Owner

dhhruv commented Jan 11, 2021

Uninstall npm and while installing(after a restart) again give a different path and add them to the environment variables manually. Also, use Powershell instead of Command Prompt. Maybe this should help.

@dhhruv dhhruv closed this as completed Jan 11, 2021
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