Managing Packages with NPM - How to Use package.json, the Core of Any Node.js Project or npm Package

Tell us what’s happening:
New to using Replit for posing the live app link for the first step of this course. I have cloned the repo, ran npm install, and pushed the change to the package.json, and pushed the changes to git, then I have pulled from Replit to ensure the latest changes are there. After adding the author field to the packate file, I’ve run the application in Replit, but I do not seem to be able to get the link to be accepted in freecodecamp. Am I missing something? Does the application not run unless other steps are completed in the course?

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.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:

Post the link to your Replit.

All you need to do is open the Replit boilerplate link given and use that.


I’m not sure if I follow your workflow here.

If you fork the boilerplate repo and clone it down locally to work on it (and push the changes back again). Importing that on Replit should work as well.

I am having the same issue can someone take a look is there a problem with my rpl code

Already added an author key on the code yet the test still shows “Failed:package.json should have a valid “author” key”

Link used to submit(remove ): https://boilerplate-npm.*raincants.repl.co
Package Json link(remove ): https://replit.com/@raincants/boilerplate-npm#package.json
text transcript: {
“name”: “fcc-learn-npm-package-json”,
“author”: “RainCants”,
“dependencies”: {
“express”: “^4.14.0”
},
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
},
“repository”: {
“type”: “git”,
“url”: "https
://idontknow/todo.*git"
}
}

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.