*** process.env.ENV is undefined, assuming 'prod' env

I am unable to open the My JHipster + Angular 2 app home page (gateway) with port 8080 (which is listed on the server port at application-dev.yml

) and getting the following exception in the console

*** process.env.ENV is not defined, assuming 'prod' env

      

The same app works fine on port 9000 (which is given by yarn) and gives an exception as shown below in the console.

process.env.ENV is not defined, assuming 'prod' env
chrome-extension://kbfnbcaeplbcioakkpcpgfkobkghlhen/src/js/bundle.js:4776 *** 

      

My problem is I am using port 9000 (given by the yarn) unable to communicate with other microservice applications.

Why am I getting the above exception?

+2


source to share


1 answer


The above warning does not come from your application. This actually comes from one of the chrome extensions (Grammarly for Chrome). Disable extension solution!



check this https://github.com/facebookincubator/create-react-app/issues/2722

+7


source







All Articles