Managing Packages with Npm - Add a License to Your package.json

Managing Packages with Npm - Add a License to Your package.json
0

#1

Why isn’t it working?
:exploding_head::exploding_head::exploding_head::exploding_head:

My code:

{
	"author": "Paolo Di Bello",
	"name": "fcc-learn-npm-package-json",
  "description": "I don't knowt",
  "keywords":[ "a","b","freecodecamp"],
  "license": "MIT",
  "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"
	},
}


#2

It was just a comma I forgot I had added

"repository": {
		"type": "git",
		"url": "https://idontknow/todo.git"
	}

I had just to remove the comma next to the ending curly brace above.

I just had to check for the console clicking on status to find out the problem was there, little did I know that before…