Faill Testing The first challenge Back-End

The first challenge Back-End:

The first challenge is something simple, just add an author field to the package.json … but even so it fails the tests, I have placed GitHub - yordanisperez/boilerplate-npm: EjerciciosFreeCodeCamp where I have locally modified the package.json file

"author":" Yordanis Pérez Brito "

Project link(s)

solution: GitHub - yordanisperez/boilerplate-npm: EjerciciosFreeCodeCamp

http://ec2-3-17-57-87.us-east-2.compute.amazonaws.com/

where I am hosting the project for challenges and the tests keep failing, I don’t know how to fix it. If someone cheers up and throws me a help. Thank you.

Your browser information:

User Agent is: Firefox 88.0.1 (Windows 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0

Challenge: How to Use package.json, the Core of Any Node.js Project or npm Package

Link to the challenge:

did you saw the error that appeare under the text field when you paste in the link?

image

package.json should have a valid "author" key
// tests completed```

imagen

You can’t submit a GitHub repo. It has to be a live site.

Do you really not have an HTTPS connection you can use, seem odd that AWS is serving HTTP connections.

there is a message below the input field in that screenshot too

Ohh I’m sorry. Thanks for the help, don’t really pay too much attention to the msg.
He wasn’t sure where to look. I already managed to understand.
Although AWS does handle the https protocol, but my server obviously doesn’t.

I will first have to study the specifics of that https protocol with nodejs before continuing this series of challenges. Thanks for your cooperation once again.

You might also just use the repl starter projects instead. At least then you can get going without having to worry about any DevOps stuff.

1 Like

It already worked for me. Thank you
https://boilerplate-npm-1.yordanisperez.repl.co

Although I would like it to have worked on AWS, it must be that I have not configured the virtual machine correctly.

Good to hear.

I haven’t really done much with AWS so I can’t really help. You might check out Heroku as well.

But I think your primary focus, for now, should be learning about the basics of NodeJS and not have to spend too much time on the technical side of the backend. That will all come in due time. For now, just start learning the fundamentals of NodeJS usage.

Okay, I’ll follow your advice.

A Heroku I tried to create a hosting but several problems related to my region happened, I tried to avoid it using VPN, but somehow something was wrong and I could not complete the registration.

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