Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uglify is not recognized #763

Open
davidmoonraw opened this issue Jun 1, 2024 · 1 comment
Open

uglify is not recognized #763

davidmoonraw opened this issue Jun 1, 2024 · 1 comment

Comments

@davidmoonraw
Copy link

Below is the error. I'm just trying to make a build. I have checked docs and searched around google/youtube. Kindly suggest

davidmoonraw@MSI MINGW64 ~/Documents/dev/foo/ejs (main)
$ ./node_modules/.bin/jake.cmd build jakefile.js --debug
Starting 'clobberPackage'...
Finished 'clobberPackage' after 1 ms
Starting 'clobber'...
Finished 'clobber' after 0 ms
Starting 'clean'...
Cleaned up compiled files.
Finished 'clean' after 1 ms
Starting 'lint'...
Linting completed.
Finished 'lint' after 464 ms
Starting 'browserify'...
Browserification completed.
Finished 'browserify' after 142 ms
Starting 'minify'...
'node_modules\uglify-js\bin\uglifyjs' is not recognized as an internal or external command,
operable program or batch file.
jake aborted.
Error: Command failed: node_modules\uglify-js\bin\uglifyjs ejs.js > ejs.min.js
    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at checkExecSyncError (node:child_process:890:11)
    at execSync (node:child_process:962:15)
    at exec (C:\Users\davidmoonraw\Documents\dev\foo\ejs\jakefile.js:5:3)
    at Task.action (C:\Users\davidmoonraw\Documents\dev\foo\ejs\jakefile.js:36:3)
    at Task.run (C:\Users\davidmoonraw\Documents\dev\foo\ejs\node_modules\jake\lib\task\task.js:325:29)
    at process.processImmediate (node:internal/timers:478:21)

@mde
Copy link
Owner

mde commented Jun 1, 2024

Is this happening in main?

Also maybe silly question, did you npm install?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants