Tell us what’s happening:
I thought I would try using Replit and the code does listen when I run “node server.js” . I edited the package.json file with my name as the author but when I submit it to freecodebase, it says the author is not there. I do see an error in Chrome dev tools console though which says:
Mixed Content: The page at ‘https://boilerplate-npm-1.jameslangdon11.repl.co/’ was loaded over HTTPS, but requested an insecure favicon ‘http://cdn.glitch.com/us-east-1%3A52a203ff-088b-420f-81be-45bf559d01b1%2Ffavicon.ico’. This request has been blocked; the content must be served over HTTPS.
Link to Replit:
https://boilerplate-npm-1.jameslangdon11.repl.co
My first node code so any help would be appreciated.
Your code so far
{
“name”: “fcc-learn-npm-package-json”,
“author”: “Jim Langdon”,
“dependencies”: {
“express”: “^4.18.2”
},
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
},
“repository”: {
“type”: “git”,
“url”: “https://idontknow/todo.git”
}
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Challenge: Managing Packages with NPM - How to Use package.json, the Core of Any Node.js Project or npm Package
Link to the challenge: