-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Description
Environment
MagicMirror² version:
Node version:
npm version:
Platform:
Which start option are you using?
npm run start
Are you using PM2?
No
Module
None
Have you tried disabling other modules?
- Yes
- No
Have you searched if someone else has already reported the issue on the forum or in the issues?
- Yes
What did you do?
running npm run test:js fails with current eslint version v9.22.0
> magicmirror@2.31.0-develop test:js
> eslint
Oops! Something went wrong! :(
ESLint: 9.22.0
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './configs/recommended' is not defined by "exports" in /opt/magic_mirror/node_modules/eslint-plugin-package-json/package.json imported from /opt/magic_mirror/eslint.config.mjs
at exportsNotFound (node:internal/modules/esm/resolve:314:10)
at packageExportsResolve (node:internal/modules/esm/resolve:661:9)
at packageResolve (node:internal/modules/esm/resolve:774:12)
at moduleResolve (node:internal/modules/esm/resolve:854:18)
at defaultResolve (node:internal/modules/esm/resolve:984:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:780:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:704:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:687:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:305:38)
at ModuleJob._link (node:internal/modules/esm/module_job:137:49)What did you expect to happen?
successful test
What actually happened?
test fails
Additional comments
No response
Participation
- I am willing to submit a pull request for this change.