make-your-own-gmail icon indicating copy to clipboard operation
make-your-own-gmail copied to clipboard

Error while processing "app/js/env.js" file

Open vitorventurin opened this issue 9 years ago • 1 comments

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

vitorventurin avatar Dec 27 '15 01:12 vitorventurin

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.

mmautner avatar Dec 27 '15 06:12 mmautner