Atom fails to install npm packages


#1

Outside atom I can easily install npm packages (and create for example vue webpack projects without any problems):
In atom (with platformio-ide-terminal)

With the normal windows powershell everything works great

When i start the project inside atom (via: npm run dev) This error occurs the project has build errors

But starting it through the powershell works just fine.
As well if I install npm packages inside atom, it deletes every package except the package that needs to be installed

Does anybody have a solution for it.


#2

I fixed the problem. Atom automatically sets the Node ENV variable to production. With https://i.gyazo.com/e222b69289ce664747b5761b196b6ec4.png setting in the core settings in platformio-ide-terminal everything works perfectly!