Link is not working when i paste it (add version to package.json)

Tell us what’s happening:

Your code so far

{
	"name": "fcc-learn-npm-package-json",
	"dependencies": {
		"version": "x.x.x",
		"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"
	}
}

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13421.102.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.199 Safari/537.36.

Challenge: Add a Version to Your package.json

Link to the challenge:

Hello~!

You’ve added the version as a nested property of dependencies - it should be a base property of the object instead. :slight_smile:

1 Like

Where should i place the “version”?

It should be placed at the same level as the name, main, and dependencies properties. :slight_smile: