[Bug]: waveterm injecting NODE_ENV into my terminal which cause incorrect behavior in nodejs package managers
Current Behavior
Waveterm injecting NODE_ENV, which cause my pnpm install only production deps in my own projects.
Expected Behavior
Shuldn't be injected
Steps To Reproduce
echo $NODE_ENV
Wave Version
v0.10.4
Platform
Linux
OS Version/Distribution
Archc
Architecture
x64
Anything else?
No response
Questionnaire
- [x] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [ ] I don't have time to fix this right now, but maybe later
This should be very easy to fix. In runWaveSrv in emain-wavesrv.ts, delete NODE_ENV from envCopy before the wavesrv process is started.
Hmm I'm not seeing NODE_ENV getting set, what value is it getting set to and what value is it set to in other terminals?
@esimkowitz
what value is it getting set
production
what value is it set to in other terminals
It does not exists in other terminals.
What mechanism did you use to install Wave?
What mechanism did you use to install Wave?
https://aur.archlinux.org/packages/waveterm-bin through yay