Tell us what’s happening:
// running tests
package.json should have a valid “author” key
// tests completed
Your code so far
silent-blue-fuel glitch me
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0.
Challenge: undefined
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
I followed the “Get a hint” link without success
Hello!
Could you show us your code? Ideally on glitch.com or the source code on github.com (or any other git platform).
Oh! And welcome to the forum
!
Your code is passing for me, you have to submit the full page link and use https
https://silent-blue-fuel.glitch.me
@skaparate Hi I just started today and running into the same issue with the Introduction challenge. I believe my Glitch has been setup correctly. (https://glitch.com/~psychedelic-vivacious-curve) . When I enter the link to my source code then hit enter, I get the below…I also tested with https://silent-blue-fuel.glitch.me which passed the test for you and still got the below error.
// running tests
package.json should have a valid “author” key
// tests completed
Hello!
Your project works, it’s just that you have a syntax error on your code. As an exercise, you should try to solve the problem by yourself (check the console log by clicking on Tools -> Logs, in glitch).
If you give up, the solution is this:
Remove the slash at the beginning of the server.js file:
Thanks! I’m new to Glitch so thanks for pointing out how to access the Console.log to debug. I also learned that I was using the wrong link under Share. I used the Live App link and my code passed. Thanks again.