I am trying to resolve this exercise:
How to Use package.json, the Core of Any Node.js Project or npm Package
Add your name as the author of the project in the package.json file.
My solution is on:
https://replit.com/@arispretz/boilerplate-npm-1#package.json
And the result is this:
// running tests package.json should have a valid “author” key // tests completed
Tests
Failed: package.json should have a valid “author” key
I don’t know what’s wrong with this.
Could someone help me. Thanks.
1 Like
I was having the same issue - you’re using the wrong link.
Here’s how it should look like: https://fcc-1.annaozola.repl.co/
You can a link like this by opening the cover page for your project and then clicking open website. Then, copy the website link.
2 Likes
Thank you for your help. That way I was able to solve it. My mistake was to use the link that links to the code, when in fact I should open the web view and put that link in the solution. This is the link: https://boilerplate-npm.arispretz.repl.co
Thank you.
SOLVED!
You been trying to give FreeCode your git repo url?? WRONG
The challenge asks for a “LIVE APP URL”
In your terminal put NPM RUN START and it will give you a Local host!
Read what numbers it gives and open the page,
“Node.js listening on port 3000”
if the page shows this:
“Manage Node.js projects and npm packages using package.json”
You are on the right place.
Most of the times is this link → http:// localhost:3000/
1 Like
Thank you! I 've solved it. Your explanation is very helpful.
Thank you saved my day, didn’t how i should submit my answer.