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

Tell us what’s happening:

I have tried submitting the live url via replit
It keeps giving a response " * package.json should have a valid “author” key"
I ran npm install to check for any missing dependencies, found none
I forked the repo and restarted the server, still i get the same response

Your project link(s)

solution: boilerplate-npm-renew - Node.js Repl - Replit

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

The solution you are giving:

https://replit.com/@Khylex/boilerplate-npm-renew#package.json

is a link to the file in the IDE. The URL you need is to the running server. One way you can get that by going in the IDE and pressing the “Open website”. That will open a new browser tab with the running server. Get that URL, from the address bar. It should end with “repl.co” - that is the address to the server. When I use that address, it works for me.

I don’t use repl much - maybe there is an easier way.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.