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

I started the first task at
freecodecamp org/learn/back-end-development-and-apis/managing-packages-with-npm/how-to-use-package-json-the-core-of-any-node-js-project-or-npm-package
“author”: "seeh,
to the boilerplate-npm - Replit
ans started the test with boilerplate-npm - Replit

Test was not ok. Test Message was:
Says wrong format.

i believe its not a format problem. Maybe this replit is not correctly configured already for me?

1 Like

Ehte error is
should have a valid “author” key
and the source is:

  "name": "fcc-learn-npm-package-json",
  "author": "seeh",
	"dependencies": {
		"express": "^4.14.0"
	"main": "server.js",
	"scripts": {
		"start": "node server.js"
	"repository": {
		"type": "git",
		"url": "https://idontknow/todo.git"
1 Like

I don’t think the repl has imported correctly. I’d delete it and then try reimporting it again, following the instructions in the challenge.

1 Like

author was the only line that i has changed at this repo. hmmm. maybe i did something wrong. ok o will delete it and want to it again. lets see whats happens

1 Like

i did here, now server is starting (thats better then before), but the error in the test is still the same:

// running tests
package.json should have a valid "author" key
// tests completed
// console output
1 Like

Can you share the link to your repl please? I can’t get either of the links (which you originally posted) to run.


You should click on the Replit Starter Project link in the challenge description, which should open this window:

Click on ‘Import from GitHub’.

When the import is done, you should see the following tab within your repl window:

With ‘Use run command’ highlighted, click ‘Done’.

Finally, you should end up with something like this:

I have added the author key (which you had done correctly) and I have also highlighted the link which you should be submitting to FCC to pass the challenge.


it woks now because i used this link into the test:  (this was a bit small text onto the top right)
and not:
copied from browser url of this public repo.  that i have used all the time before.
1 Like

suggestion to the team: change the error message if nothing is added, check if something is added or/and if the given url is in correct

1 Like

Whenever you’re working with repl (or other such platforms), you can share your code with the url in the address bar, but the link to the live project (which you submit to FCC) is the other url (as highlighted). You can also paste this url in a new window/tab and it will display the live project as other users would see it.

1 Like

yes. is suggestion to change the error message to the given url is in not correct.

BTW where is the best place to give freeCodeCamp idea/featureRequest/issues?

for e.g. it good to select text that you want copy to clipboard by double click. this works with many text in the tasks but not all (maybe the half you need drag the mouse over the text. e.g. cat photo URL). that hard if you have no time and arms feel already a bit ill

1 Like

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