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

Hi,

Sorry to bother. I read all the topics I found, but can’t find a solution why my solution doesn’t work.

Here is my packages.json :

{
  "name": "fcc-learn-npm-package-json",
  "dependencies": {
    "express": "^4.14.0"
  },
  "main": "server.js",
  "author": "thib",
  "scripts": {
    "start": "node server.js"
  },
  "repository": {
    "type": "git",
    "url": "https://idontknow/todo.git"
  }
}

Here is the result :
// running tests
package.json should have a valid “author” key
// tests completed
// console output [Error]

It seems replit don’t give an open access to the demo, how should I do ?

Thanks

Ok found the solution here : Solution in Replit not working

Replit live has issues, and the fix is to add – before your name.

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