Hi, I’m unable to complete the command npm run prod. It stops with the following error :
INFO Starting compression…
× Error - file(s) not compressed with uglify-es
Error: ENOENT: no such file or directory, stat ‘’./public’
at Object.statSync (node:fs:1536:3)
at createDirectory (D:\wwwroot\wims\node_modules@node-minify\core\lib\compress.js:102:20)
at compress (D:\wwwroot\wims\node_modules@node-minify\core\lib\compress.js:36:3)
at D:\wwwroot\wims\node_modules@node-minify\core\lib\core.js:30:7
at new Promise (
- MSAnswered
Hello,
Have you installed the dependencies with
npm i? Please use node 16+If still same, you can run
npm run productionand skip thegsw&&uswThank you
 - Login to Reply