Hi team, how you are doing? I was trying to do the same but I’m using edge, here’s my JSON file,
{
"author": "Bryan Jara",
"name": "fcc-learn-npm-package-json",
"dependencies": {
"express": "^4.14.0"
},
"license": "MIT",
"keywords": ["freecodecamp", "API", "Backend"],
"description": "This proyect is for me to learn how to manage a good JSON file an learn more about the backend",
"main": "server.js",
"version": "1.2.0",
"scripts": {
"start": "node server.js",
},
"repository": {
"type": "git",
"url": "https://idontknow/todo.git",
},
}
For what I can see the version is well placed, but whenever I upload the link of my REPL it appears the following error:
jQuery.Deferred exception: Expected double-quoted property name in JSON at position 387 SyntaxError: Expected double-quoted property name in JSON at position 387
at JSON.parse ()
at Object.eval (eval at (https://www.freecodecamp.org/js/frame-runner-8265f5df9fcff83b9f36.js:2:205058), :4:27)
at c (https://www.freecodecamp.org/js/frame-runner-8265f5df9fcff83b9f36.js:2:121282)
at l (https://www.freecodecamp.org/js/frame-runner-8265f5df9fcff83b9f36.js:2:121584) undefined
[SyntaxError: Expected double-quoted property name in JSON at position 387]
I really don’t know what I am doing wrong ![]()
solution: boilerplate-npm - Replit
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.34
Challenge: Managing Packages with NPM - Add a Version to Your package.json
Link to the challenge: