Cannot finish Managing Packages with Npm

Managing Packages with Npm - Manage npm Dependencies By Understanding Semantic Versioning

Cannot pass the challenge. Test always says: “moment” version should be “2.10.2” , but I believe my package.json is correct.

https://martin-lauf-fcc.glitch.me/

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

Challenge: Managing Packages with Npm - Manage npm Dependencies By Understanding Semantic Versioning

Link to the challenge:
https://www.freecodecamp.org/learn/apis-and-microservices/managing-packages-with-npm/manage-npm-dependencies-by-understanding-semantic-versioning

@laufmartin You have posted a link to the live project. Can you instead post a link to the editable project, so we can see the actual code?

yea sure, I am sorry I just started those backend lessons, still litle bit confused

thats my JSON

{
“name”: “fcc-learn-npm-package-json”,
“author”: “Martin Lauf”,
“description”: “A project for back end”,
“keywords”: [
“developer”,
“javascript”,
“freecodecamp”
],
“license”: “UNLICENSED”,
“version”: “1.0.0”,
“dependencies”: {
“express”: “^4.17.1”,
“moment”: “^2.10.2”
},
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
},
“engines”: {
“node”: “8.11.2”
},
“repository”: {
“type”: “git”,
“url”: “https://idontknow/todo.git
}
}

I don’t know where you are putting the JSON you posted above, but the following is what I see in your package.json for the Git project you posted.

{
	"name": "fcc-learn-npm-package-json",
  "author": "brianfink",
  "description": "A project that does something awesome",
  "keywords": [
    "freecodecamp", "programming", "nodejs", "javascript"
  ],
  "license": "FTW",
  "version": "1.0.0",
  "dependencies": {
		"express": "^4.14.0"
	},
	"main": "server.js",
	"scripts": {
		"start": "node server.js"
	},
	"engines": {
		"node": "8.11.2"
	},
	"repository": {
		"type": "git",
		"url": "https://idontknow/todo.git"
	}
}

I have no idea what is that. I just copied the URL from my workplace.
Try this please
(the code generate via share button)

OK, that package.json is closer to what the instructions are asking. Do you understand what the ^ means in the following line:

    "moment": "^2.10.2"

Thank you very I understand now, they are asking exact version and the caret ( ^ ) allows npm to install future updates. Now it makes sense.

Thanks again!