-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
service listening on http://localhost:3000 with undefined Environment #316
Comments
Hi @dustbro if you're using Linux OS - export NODE_ENV=development and then run it. |
Thanks for the reply! I'm using this already before I run it, but still get undefined Environment.
|
I had to start nodemon server as root for the environment to change. |
Hi @dustbro Please run and restart the service with |
I get the same result after restarting the service. |
Hi, Can you show me the output of |
Swagger-autogen: Success ✔
Swagger-autogen: Success ✔
Swagger-autogen: Success ✔
Swagger-autogen: Success ✔
Swagger-autogen: Success ✔ |
Hi @dustbro Please ping me to my mail. ID is |
I just followed the install videos (which where very helpful!) but run into issues when installing on Ubuntu 20.04.
I hit an error when running nodemon user.server.js about NODE_ENV in /socioboard-api/Common/Sequelize-cli/models/index.js
I used export NODE_ENV=development whenever needed throughout the install, but NODE_ENV was set to production.
const env = process.env.NODE_ENV || 'production';
I changed this value to development and the server started, but with an "undefined Environment" error.
service listening on http://localhost:3000 with undefined Environment!
Navigating to the webpage localhost:3000 triggers a response from the server:
GET /explorer/ 304 1.736 ms - - GET /explorer/ 200 0.256 ms - -
but the webpage is blank... probably because the environment is wrong.
Where should I look to correct this issue?
The text was updated successfully, but these errors were encountered: