Not being able to pass the test

Tell us what’s happening:
Describe your issue in detail here.
How I have to submit my projects link to pass the test

Your project link(s)


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

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

Link to the challenge:

First of all, you need to supply the link to the server, not the file. You have:

When I fork your repl and try to run it, I see this error in the terminal:

npm ERR! file /home/runner/hTgCbSidCF_/package.json
npm ERR! JSON.parse Failed to parse json
npm ERR! JSON.parse Unexpected string in JSON at position 75 while parsing '{
npm ERR! JSON.parse     "name": "fcc-learn-npm-package-json",'
npm ERR! JSON.parse Failed to parse package.json data.
npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2022-02-26T16_18_06_252Z-debug.log
exit status 1

When I look at your code, I see this:

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

Do you see that you’re missing something?


You are missing an important character at the end of the 3rd line. That is why the next line is colored oddly.

When I fort your repl and fix that, and submit the server link, it passes for me.

To get the link to the server, hit the Run button. A running server pane should open in the upper right. There is a url at the top. It should end in “”. (There may be an easier way to get it, but I don’t know replit well.)

1 Like

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