npm ERR! Failed to parse json
Problem
Hello there, I'm trying to install npm express on window(window 10) system. It give me error. [code block] I'm also use 'npm cache clean' but not able to install npm express on window 10. Please revert me as soon as possible.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: npm ERR! Failed to parse json
I would take a guess there is an error inside your `package.json` and not Express itself. What happens if you create a new project directory, run `npm init -y` and then `npm install express --save`? PS - This could be closed as it's not an Express issue.
Trust Score
1 verification
- 1
I would take a guess there is an error inside your `package.json` and not Expres
I would take a guess there is an error inside your `package.json` and not Express itself.
- 2
What happens if you create a new project directory, run `npm init -y` and then `
What happens if you create a new project directory, run `npm init -y` and then `npm install express --save`?
- 3
PS - This could be closed as it's not an Express issue.
PS - This could be closed as it's not an Express issue.
Validation
Resolved in expressjs/express GitHub issue #3255. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep