I put the author and its not working (How to Use package.json, the Core of Any Node.js Project or npm Package)

Tell us what’s happening:

Your project link(s)

solution: https://boilerplate-npm-1.henrychang7.repl.co

Your browser information:

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

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

Link to the challenge:

Hi @changhenryspring !

We can’t see your code.


Can you write it here on the forum?

Hello! I had the same issue a couple of days ago…
The best solution I found was doing all of the activities in the APIs and Microservices course on glitch.com.

{
  "name": "fcc-learn-npm-package-json",
  "author": "Henry Chang",
  "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 just tested it with your code and created a new repl .it and it works for me.

Here is what I did.

I copied your code in the package.json
Then I hit Run at the top
Then I copied and submitted the link found here


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