Webstorm runs a wrong npm configuration

I have two different npm configuration. They are simmilar but has different script arguments.

So when I run first created config it goes fine and work as expected and console output is fine. BUT when I run second configuration its console output is fine two BUT in fact I see that the first configuration is executing! 

I have .bat scripts that do the same thing and everything is work well. So I don't think there is a problem with configuration, because I just moved config from .bat to IDE.

This is the first config and results:

Here is the seconf one:

0
3 comments

But screenshots show that the arguments specified in your second configuration are passed in the second case - so the IDE starts your second configuration with correct arguments. If the results of its execution are not expected, it's unlikely the IDE fault - all it does is sterting npm and passing your args to it

0

When I run these commands from cmd they work fine. As I understand webstorm is responsible to run npm, so maybe it caching config somewhere and use it further. 

0

it just runs npm with specified args, nothing more...

0

Please sign in to leave a comment.