question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use package.json challenge not accepting correct answer

See original GitHub issue

screenshot 6

Challenge Name

https://beta.freecodecamp.org/en/challenges/managing-packages-with-npm/how-to-use-packagejson-the-core-of-any-nodejs-project-or-npm-package

Issue Description

My answer is correct, but FCC won’t accept it; the console says that it isn’t communicating with Glitch (see screenshot).

Browser Information

  • Browser Name, Version: Google Chrome Version 63.0.3239.108 (Official Build) (64-bit)
  • Operating System: Windows 10 Home
  • Mobile, Desktop, or Tablet: Laptop

Your Code

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

#### Screenshot
<!-- Add a screenshot of your issue -->
![screenshot 6](https://user-images.githubusercontent.com/8755099/34368620-3fbe5366-ea83-11e7-9ae4-c2bac8664bf9.png)


Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ncaroncommented, Dec 27, 2017

Your answer is not correct. You should use the live link of your project, not link to edit the project. Click there and use the new link.

glitch

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use package.json Challenge Help!
If you successfully clone the project then the server.js code is correct (has an endpoint for serving the package.json file) and everything ...
Read more >
npm can't find package.json - Stack Overflow
It may be very evident, but try to launch CMD (for Windows) from the project folder, where your package.json file is located. Do...
Read more >
package.json - npm Docs
New packages must not have uppercase letters in the name. The name ends up being part of a URL, an argument on the...
Read more >
How to Upgrade Dependencies in Your package.json
After identifying the outdated packages, we fix the version specifications in package.json accordingly. Then we can run npm install or npm update to...
Read more >
Why the Hell Would I Use Node.js? A Case-by-case Tutorial
js, you can create classic web applications on the server side. While possible, this request-response paradigm in which Node.js would carry rendered HTML...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found