-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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 ERR! Failed to parse package.json data. #2930
Comments
Can you check the contents of file You may want to try |
Thanks tunniclm - the cache clean solved it! Thank you for a quick reply :)
|
+1 @tunniclm
|
@tunniclm - Thanks |
+1 @tunniclm - thanks a lot! |
"[ ..............] | fetchMetadata: sill mapToRegistry uri https://registry.n.." - I hope this works for me.. |
well something worked... :/ |
0 info it worked if it ends with ok |
Urgent help please, tried the "npm cache clean" command..trying to build a sample project using electron.. Also my package.json content is contained below |
{ |
missing a comma , |
Hi victor. issue resolved already. many thanks |
Did you npm install..
…On Tue, Aug 1, 2017 at 6:57 PM, davidobi023 ***@***.***> wrote:
Urgent help please, tried the "npm cache clean" command..trying to build a
sample project using electron.. Also my package.json content is contained
below
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2930 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGDyiEc-0kh_Z4_NUEHp9bAiDEA6zfULks5sT3UkgaJpZM4HpM-n>
.
|
npm cache clean |
no problems.. ;)
Kind Regards,
*C
<https://www.google.co.uk/search?q=Metaphysicist&spell=1&sa=X&ved=0ahUKEwjf8vvvkvPWAhXBcBoKHb1nDAIQvwUIJSgA>hike
Henderson,Meta-physicist,Computer Scientist,*
*Information Technology Solutions Expert*
Email: chike.henderson@gmail.com
Website: http://www.sprintandcrash.com
…On Thu, Oct 19, 2017 at 6:25 PM, wilsonj19 ***@***.***> wrote:
npm cache clean
excellent tnks so much
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2930 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGDyiCXf-Nzt8FjrloHR4t4UevIpj6FKks5st5Q2gaJpZM4HpM-n>
.
|
I just minify "package.json" and it worked ! |
when i want to run my react app with these commands: i get these errors: my package.json code is: { "scripts": { "author": "", "dependencies": { "devDependencies": {
} } npm cache clear dosn't affect |
@mahsabehbahani You are missing quotes around your scripts. It is |
@wesleytodd thanks for quick answer, npm ERR! unexpected string in JSON at position 174 while parsing '{ |
No worries :) I was talking about this section:
It should read:
But your new error seems different. It would be helpful if you posted the exact and full output from your terminal using a code block formatting with three back tick characters (`). You can check the comment with the "preview" tab in github to make sure it looks like you see it in the terminal. |
@wesleytodd
|
Yep, as the error message says, you have invalid json in that file. I am sorry but this is not the right place to be doing support like this. Can you please post this on stackoverflow or in the express gitter instead of continuing the conversation here? |
@wesleytodd |
Hi guys, I am having the same problem as mahsa-pb. I have validated my json file and it is fine so no idea what is wrong with my json file. Please help me thank you.
|
Hi @AdiBev paste your JSON into a validator site like https://jsonformatter.curiousconcept.com/ 👍 For support and discussion, please come over to https://gitter.im/expressjs/express and we can let this 2 year old issue rest :) |
The text was updated successfully, but these errors were encountered: