Questions tagged [nodeenv]
19 questions
0
votes
0 answers
Nodejs try to start Error $NODE_ENV not expected
I'm studying a React project and i have to say that so far i have seen just script with "start": "nodemon app.js". I'm using Windows os.
But now i try to start this node project that has this script part:
"scripts": {
"test": "echo \"Error: no…

July
- 516
- 1
- 7
- 25
0
votes
1 answer
npm install -g while also updating package.json?
Yes, I know, npm install -g isn't supposed to update package.json. But I need something that will have a similar effect.
My problem is as follows:
I want to keep everything separate, so I would like to install node, npm, and every package in a…

justbecause
- 189
- 2
- 9
0
votes
1 answer
Problem on adding ENV var in Netlify for react app
I'm facing a problem on adding env var in netlifiy for react app.But it works perfect on localhost.
Here is the code
let appId;
if (process.env.NODE_ENV !== "production") {
appId = process.env.REACT_APP_SPEECH_ID;
} else {
appId =…

aravind ks
- 612
- 7
- 18
-1
votes
1 answer
React.JS / Next.JS NODE_ENV=production runtime error
I yarn install, yarn build, build the docker image, deploy to EKS and hit the following runtime error:
NODE_ENV: production
(node:1) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
at process.binding…

Kok How Teh
- 3,298
- 6
- 47
- 85