Managing Packages with NPM Step 1 Problems

Hello and good morning everyone,
I have been working on this ever since yesterday, and it’s been confusing me.
The test says,

  • package.json should have a valid “author” key
    Yet even though my code has it, it doesn’t work.
    What might be wrong with my code?
    package.json:
{
	"name": "fcc-learn-npm-package-json",
	"author": "button mash",
	"dependencies": {
		"express": "^4.14.0"
	},
	"main": "server.js",
	"scripts": {
		"start": "node server.js"
	},
	"repository": {
		"type": "git",
		"url": "https://github.com/freeCodeCamp/boilerplate-npm.git"
	}
}

what link are you submitting? where are you developing? locally or gitpod or something else?

I’m submitting this gitpod link: https://freecodecam-boilerplate-e3b8sbo6yr0.ws-us117.gitpod.io/
Is there something wrong with it?

you need to submit the link from the preview

Oh. I didn’t know that. So this one?

no, the preview in gitpod
you can also find it as the link to the port

So this one then?
https://gitpod.io/?autostart=true#https://github.com/freeCodeCamp/boilerplate-npm

no, it is the one from the small preview you have inside the gitpod workspace

1 Like

Oh. I get it now. Thank you for helping me recognize this, I’ve solved it now!

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