Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

environment variables.js cannot be read

$
0
0

I'm trying to add JWT Auth Token in my react js application for authorization. For this I'm following this example. When I run the code I get the following error:

Error: Config file /config/custom-environment-variables.js cannot be read. Error code is: undefined. Error message is: FileSystem.readFileSync is not a function

Here is the output from my console:

enter image description here

I have seen this question, but it didn't helped me.


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>