mahmoud2020
mahmoud2020

Reputation: 180

unknown word (csssyntaxerror)stylelint(csssyntaxerror) in .env file

how can I fix this error(unknown word (csssyntaxerror)stylelint(csssyntaxerror) ) in my .env file in react app. ,I did not change anything in it but when i started my app this error appeared

enter image description here

Upvotes: 3

Views: 2623

Answers (1)

mahmoud2020
mahmoud2020

Reputation: 180

problem has appeared when the vs code added the ("") mark to the value of REACT_APP_........variable enter image description here

..that made a problem in (process.env) and axios

when I removed the ("")
enter image description here

the app ran again

Upvotes: 1

Related Questions