Backend Development and APIs challenge - Managing packages with NPM

Tell us what’s happening:
Describe your issue in detail here.
I’ve used the link below as the solution link via replit and it doesn’t validate. See project link below.

https://replit.com/@ObakaTorto/boilerplate-npm-1#package.json

And here is my code below:

{
	"name": "fcc-learn-npm-package-json",
	"author": "obakatorto",
	"dependencies": {
		"express": "^4.14.0"
	},
	"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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36

Challenge: How to Use package.json, the Core of Any Node.js Project or npm Package

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

This

https://replit.com/@ObakaTorto/boilerplate-npm-1#package.json

is a link to the file. You need a link to the live app, the server.

Press the green Run button. That will start the app. On the upper right, a window should open up with a url at the top. That is the url you want. The url should end with “.repl.co”. That is the url you need to submit.

When I submit that url, it passes for me - your code works. You just need to get the correct url.

Give that a try. Let us know if you are still stuck.

1 Like

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