You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node version (or tell us if you're using electron or some other framework):
v6.11.2
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.8
Operating system:
Windows 10
Description of the bug:
I tried to run a webpack command through shelljs exec method. But got 'webpack' is not recognized as an internal or external command, operable program or batch file.
Example ShellJS command to reproduce the error:
var command = 'webpack --optimize-minimize --config webpack.config.js';
if (shell.exec(command).code !== 0) {
shell.echo(`Error occurred while executing: ${command}`);
shell.exec('pause');
}
The text was updated successfully, but these errors were encountered:
Node version (or tell us if you're using electron or some other framework):
v6.11.2
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.8
Operating system:
Windows 10
Description of the bug:
I tried to run a webpack command through shelljs exec method. But got
'webpack' is not recognized as an internal or external command, operable program or batch file.
Example ShellJS command to reproduce the error:
The text was updated successfully, but these errors were encountered: