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

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

#1

I copied and pasted this link


// running test
Unexpected token < in JSON at position 0
// tests completed
How to fix ?


#2

The package.json looks good to me. Are you getting g this error while pasting to freecodecamp?


#3

Yes I copied and pasted the link its not letting me pass the challenge the freecodecamp is giving me the error I copied and pasted above


#4

Just figured it out, It was my mistake as I was sharing the URL, you have to copy and paste the share your app link, which is found by clicking on the share button on the sidebar, and not the regular url.


#5

Something might have happened with glitch as the last time I saw your project I couldn’t see anything but the Readme.

Anyway, glad you fixed this.


#6

Was this anywhere in the instructions? :thinking: (rhetorical question)