Use the .env File -- help

Tell us what’s happening:
Describe your issue in detail here.

  1. Created the .env file
  2. added the code
  3. updated npm update --save
    Test does not past.

Your project link(s)

solution: https://replit.com/@twincreations/boilerplate-express

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36.

Challenge: Use the .env File

Link to the challenge:

Hi @TwinCreations !

The issue is that you didn’t actually create an env file.

When I look at your link I see this.
Screen Shot 2021-05-17 at 2.14.31 PM
Screen Shot 2021-05-17 at 2.14.38 PM

It should be .env.
not comma env.

But in replit you can’t create an env file by doing .env anymore.
They changed it about a month ago.

There is a secrets tab where you can add the key and value.
Click on the lock icon and add the key value and click add new secret.
The Key would be MESSAGE_STYLE
The value would be uppercase

Hope that helps.

1 Like

Screen Shot 2021-05-17 at 2.16.31 PM

Thanks, that helped. :grinning_face_with_smiling_eyes:

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