Closed Kremzion closed 5 years ago
you will need to rewrite all the " in the package.json file and will work.
@gand988 I'm having the same issue and your explanation didn't help much can you explain differently please?
TL;DR You just need to replace all the quotation mark.
@ayetofu ok, the error says "npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript."
If you just copy-paste the "package.json" code from a website, there is a chance that the quotation marks are left/right double quotation mark, because how they wrote the article.
here's the difference error -> “name” ok -> "name"
Hope to be more clear.
@gand988 it did thank you! can i message you on discord for further help?
@gand988 it did thank you! can i message you on discord for further help?
check my portfolio and DM me on twitter
@gand988 I tried to do what you said and it literally did nothing, can I have some help please?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
so when I tried to execute dependencies, this is what the error says:
C:\Users\Kremzion\Desktop\Kremzbot>npm install discord.io winston --save npm ERR! file C:\Users\Kremzion\Desktop\Kremzbot\package.json npm ERR! code EJSONPARSE npm ERR! JSON.parse Failed to parse json npm ERR! JSON.parse Unexpected token “ in JSON at position 3 while parsing near '{ npm ERR! JSON.parse “name”: “greeter-bot...' npm ERR! JSON.parse Failed to parse package.json data. npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Kremzion\AppData\Roaming\npm-cache_logs\2019-03-07T10_25_33_635Z-debug.log
I don't see any differences in "package.json" and in the sample given on the blog. Please reply as soon as possible, thank you.