I can't install moment json with express:"2.14.0" the faild URL https://boilerplate-npm-10.nanasv.repl.co

Tell us what’s happening:

Your project link(s)

solution: https://boilerplate-npm-10.nanasv.repl.co

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36.

Challenge: Expand Your Project with External Packages from npm

Link to the challenge:

Maybe provide your code snippet? The one in your package.json file so we can help you.

This is the URL that fails
The issue is that ones I include package-name, express: 2.14.0 in my package.json the node refuse to be install. But if it is express: 4.14.0 it quickly installed.

Yeah you provided the link to the project, but not your code, so I have no idea.

Just CopyPaste your package.json code here so we can help you.

1 Like

Wait, now i know where you misunderstood.

Add version “2.14.0” of the “moment” package to the dependencies field of your package.json file.

You need to add dependency not changing your Express version.

	"name": "fcc-learn-npm-package-json",
	"author": "Moshahrani",
	"description": "boilerplate",
	"keywords": [
	"license": "MIT",
	"version": "1.1.0",
	"dependencies": {
	 "package-name": "version",
		"express": "2.14.0"
	"main": "server.js",
	"scripts": {
		"start": "node server.js"
	"repository": {
		"type": "git",
		"url": "https://idontknow/todo.git"

Hi @ychris !

You need to replace this

with the correct package name and version

1 Like

A post was split to a new topic: Questions about Node.js

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