[next-css-obfuscator] 🗯️ Obfuscation Creating/Updating class conversion JSON
[next-css-obfuscator] ✅ Obfuscation Class conversion JSON created/updated
node:fs:1690
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory, stat '.next'
at Object.statSync (node:fs:1690:3)
at replaceJsonKeysInFile (/home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/dist/utils.js:57:26)
at replaceJsonKeysInFiles (/home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/dist/utils.js:151:5)
at obfuscate (/home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/dist/index.js:42:40)
at obfuscateCli (/home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/dist/index.js:82:5)
at file:///home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/bin/cli.mjs:5:1
at ModuleJob.run (node:internal/modules/esm/module_job:194:25) {
errno: -2,
syscall: 'stat',
code: 'ENOENT',
path: '.next'
}
[next-css-obfuscator] 🗯️ Obfuscation Creating/Updating class conversion JSON [next-css-obfuscator] ✅ Obfuscation Class conversion JSON created/updated node:fs:1690 handleErrorFromBinding(ctx); ^
Error: ENOENT: no such file or directory, stat '.next' at Object.statSync (node:fs:1690:3) at replaceJsonKeysInFile (/home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/dist/utils.js:57:26) at replaceJsonKeysInFiles (/home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/dist/utils.js:151:5) at obfuscate (/home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/dist/index.js:42:40) at obfuscateCli (/home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/dist/index.js:82:5) at file:///home/sectscans-beta/htdocs/beta.sectscans.com/node_modules/next-css-obfuscator/bin/cli.mjs:5:1 at ModuleJob.run (node:internal/modules/esm/module_job:194:25) { errno: -2, syscall: 'stat', code: 'ENOENT', path: '.next' }
Node.js v18.17.1
I am using Laravel Breeze NextJs