make-your-own-gmail
make-your-own-gmail copied to clipboard
Error while processing "app/js/env.js" file
Hi, When I run "grunt serve":
Running "replace:dist" (replace) task Warning: Error while processing "app/js/env.js" file. Use --force to continue.
If I force to continue, it does not work on Chrome. I've tested on Firefox and after login with google account I received an error:
Error: invalid_client no registered origin
PS: I've replaced the GOOGLE_CLIENT_ID in .env
Try "sourcing" the .env
file if you're on Linux or Mac:
$ source .env
And then try grunt serve
again.
If you're on Windows, I'm less sure how to help you--one option is that you could just replace the contents of the app/js/env.js
file.