0

I am trying to add a .env file with the text "SKIP_PREFLIGHT_CHECK=true" but I'm not exactly sure how to go about this. Can someone please help me out with this?

PS: I'm a complete beginner to React development, npm and everything else.

enter image description here

0

1 Answer 1

0

Your .env file contents is fine - but your file isn't actually named .env - you have file-extensions disabled so you can't see that it's real name is .env.txt. You need to remove the .txt part.

Change your explorer settings to file all file extensions and then remove it using F2.

Sign up to request clarification or add additional context in comments.

3 Comments

How do I change my explorer settings? Can you please be more specific? Should I change my explorer settings in the text file, or in the project directory?
Start > Control Panel > File Explorer Options > View > Uncheck "Hide extensions for known file types" - or use a terminal window to rename the files.
Too circuitous. The other method was better. Thanks, anyhow!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.