Author to Package.json not passing with glitch.com

I’m signed into glitch.com and freecodecamp, and I’m trying to pass the first NodeJS challenge of adding myself as the author of a project. I have some node experience and did it without using the hint, but it failed. So, I looked at the hint and followed the advice, but it still fails. I don’t know what the problem is, but it doesn’t seem like the problem is the code. I am unfamiliar with glitch. I have added the project link as suggested by the FCC hint, and even tried the address for the page. I have also added a version number with no luck.
https://glitch.com/~motley-gruyere

  "name": "fcc-learn-npm-package-json",
  "author": "Ryan Adams",
   "version": "1.0",
  "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"
  }
}```
        

Chrome is my browser.

User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36</code>.

Challenge: Managing Packages with Npm - How to Use package.json, the Core of Any Node.js Project or npm Package

**Link to the challenge:**
https://www.freecodecamp.org/learn/apis-and-microservices/managing-packages-with-npm/how-to-use-package.json-the-core-of-any-node.js-project-or-npm-package
1 Like

Hello ryegrammer,

I also spent a lot of time on those lessons, because of errors between Glitch and freeCodeCamp. First issue that i found: It helps in some of the lessons to remove the ^ from the express version in the dependancies section of your package.json. This will probably not help you.

Are you submitting the correct link? https://www.name-of-your-glitch.glitch.me

The .me is the important part.

Hope this helps.

2 Likes

Thank you both for your comments. The solution that seemed to work ended up dropping the ^ (carat) from express and using the address provided without the www. in it. It seemed to pass with the ^ carat and same address once, but that might be some lag in saving the program, because it failed again later. I then removed the carat (^) and it passed with the address that lacked the www… Either way, people experiencing the same problem may face issues with delays from saving and updating the code. So, no carat on the express version and no www… Again thanks for the help.

1 Like