Failed:package.json should have a valid "author" key

Hi everyone! I promise this error is unique, cause all the forum posts related to this error are that they are not using the live app URL.

My project is hosted here: boilerplate-npm (1) - Replit

And my solution link is: https://boilerplate-npm-1.elohimcampo.repl.co

Thank you in advance for your help,
Elohim Campo

The link to the lesson is: https://www.freecodecamp.org/learn/back-end-development-and-apis/managing-packages-with-npm/how-to-use-package-json-the-core-of-any-node-js-project-or-npm-package

It is one of the odd Replit issues with SSL. You can try forking your project and see if it helps or restart with a new fork and see if that works.

When you get SSL errors you can usually get to a working page by using the iframe URL. If you inspect the preview (not the full page) and look at the iframe it has a URL you can copy and use.

https://fd59b1eb-0eb9-40cf-b30b-58f1627813f5.id.repl.co

I forked 3 times and the live app URL didn’t pass the test. How can I find and copy the iframe URL? All I find on the internet is javascript code but I actually want to copy the iframe URL.

You should be able to use the URL I posted. It is from your project.


It depends on the preview. The one you get from the editor preview looks like this.

https://a152159f-4752-4392-aadd-5b5e2fc23bc7.id.repl.co/__replco/devtools_wrapper.html

And you have to remove the end part /__replco/devtools_wrapper.html

The iframe you get when looking at the preview of someone’s project

I switched to Glitch and it’s working perfectly. Thank you anyway.