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
> [email protected] start /home/user/javascript-obfuscator-ui
> node server.js
internal/modules/cjs/loader.js:438
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist' is not defined by "exports" in /home/user/javascript-obfuscator-ui/node_modules/threads/package.json
at throwExportsNotFound (internal/modules/esm/resolve.js:290:9)
at packageExportsResolve (internal/modules/esm/resolve.js:513:3)
at resolveExports (internal/modules/cjs/loader.js:432:36)
at Function.Module._findPath (internal/modules/cjs/loader.js:472:31)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/home/kim/javascript-obfuscator-ui/server.js:3:27)
at Module._compile (internal/modules/cjs/loader.js:1063:30) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
expected:
The application should run.
How to fix this issue? The application runs after editing exports option of package.json like below at ./node_modules/threads/package.json :
When putting
npm start
in./
output:
expected:
The application should run.
How to fix this issue? The application runs after editing
exports
option ofpackage.json
like below at./node_modules/threads/package.json
:from:
to :
Is other solution? Because the solution I tried seems not the best solution.
The text was updated successfully, but these errors were encountered: