-
Notifications
You must be signed in to change notification settings - Fork 740
Closed
Labels
fixBug/defect, or a fix for such a problemBug/defect, or a fix for such a problem
Milestone
Description
Node version (or tell us if you're using electron or some other framework):
node -v
v22.2.0
ShellJS version (the most recent version/Github branch you see the bug on):
^0.8.5
Operating system:
ubuntu 20
Description of the bug:
unable to package into binary or minify shelljs
with npm pkg
or any binary bundling tool
Example ShellJS command to reproduce the error:
error: Cannot find module "./src/cat"
const shell = require('shelljs');
// Example: List files in the current directory
if (shell.exec('ls').code !== 0) {
shell.echo('Error: ls command failed');
shell.exit(1);
}
need a executable for ubuntu, windows, mac. But was not able to build after 3 days, searched all gpt, stackoverflow etc.
Metadata
Metadata
Assignees
Labels
fixBug/defect, or a fix for such a problemBug/defect, or a fix for such a problem