First Challenge from
Managing Packages with Npm - How to Use package.json, the Core of Any Node.js Project or npm Package
It keeps on giving same error I don’t know why I am using Glitch for submitting my code
Unexpected token < in JSON at position 0
I found something on the freecodecamp forum saying I need to put the link for my package.json file. How am I supposed to do that by the glitch. I am new to glitch.
This is my code.
{
"name": "hello-express",
"author": "Aditya Kumar",
"version": "0.0.1",
"description": "A simple Node app built on Express, instantly up and running.",
"main": "server.js",
"scripts": {
"start": "node server.js"
},
"dependencies": {
"express": "^4.16.4"
},
"engines": {
"node": "8.x"
},
"repository": {
"url": "https://glitch.com/edit/#!/hello-express"
},
"license": "MIT",
"keywords": [
"node",
"glitch",
"express"
]
}