Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bunkscene
Copy link

On creation of the project, a file called "env.example" is added. In order properly run environment variables locally, this file must be renamed ".env".

On creation of the project, a file called "env.example" is added.  In order properly run environment variables locally, this file must be renamed ".env".
Add instruction to rename env.example file
@jayair
Copy link
Contributor

jayair commented Apr 12, 2020

We do that in a later chapter when we cover environment variables — https://serverless-stack.com/chapters/load-secrets-from-env.html

@bunkscene
Copy link
Author

Agree, but when running through the steps in order, this was broken for me and I had to make the change at this point.

@jayair
Copy link
Contributor

jayair commented Apr 12, 2020

Oh. What was the error you ran into at this stage?

@bunkscene
Copy link
Author

See this comment and the reply with the explanation. Reading through the comments on this page, it seems many people run into this error.

https://discourse.serverless-stack.com/t/add-a-create-note-api/125/194

@jayair
Copy link
Contributor

jayair commented Apr 12, 2020

Hmm the missing .env file is a warning not an error. Let me know if you are running into an error and cannot complete this step.

@bunkscene
Copy link
Author

bunkscene commented Apr 13, 2020

Ah fair enough. Ok, I’ll remove this pull request.

I guess I had the real error about the eslint that was blocking it here. That should be resolved somehow, though I am not sure of the correct way. For me, I added it to package.json and the error cleared.

@bunkscene bunkscene closed this Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants