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

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

#1

Getting this error in console when I click I've completed this challenge(Ctrl + Enter)

Failed to load https://***********.glitch.me/_api/package.json: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://learn.freecodecamp.org’ is therefore not allowed access. The response had HTTP status code 404.

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

Can someone help?


#2

Try adding the short link from Share your App url field from glitch that passes the test.


#3

I’ve tried it but it didn’t help !!


#4

same issue
did you solve it


#5

Nope…still facing same issue


#6

It worked with the "Share you App " url for me


#7

@dainar

I’m stuck with this. Can you post the screenshot of the same ?


#8

First did you cloned the glitch from FCC?
If have cloned your glitch app from FCC and update the package.json and use that share your app URL,
then the test will pass sucessfully.


#9


#10

I am currently experiencing the same issue.
I’ve done everything correctly but I can’t get it to pass.


#11

I have the same issue with this challenge ,did you find the solucion guys?


#12

Just clone the repo from freecodecamp, then using “Share your app”, then paste the link of the project to the solution form, it will pass, I have just passed by doing these step!


#13
  1. It’s simple, clone this project.
    clone
  2. Change name

  3. Submit answer

Managing Packages with NPM Challenge : tests not working
#14

Works fine, thanks !
I was sharing the direct link to the file instead of the application.
Any way to improve the Freecodecamp doc with the screenshots you sent me ?
I’d rather work locally and push to Github though so if you have a clue, I’ll gladly take it too !
Thanks again,
Franck


#15

Now it can’t find the “licence” key even though it’s in the file…
Puzzling…