-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Verify latest release
- I verified that the issue exists in the latest pnpm release
pnpm version
v10.12.1
Which area(s) of pnpm are affected? (leave empty if unsure)
Store
Link to the code that reproduces this issue or a replay of the bug
https://github.com/subframe7536/maple-font-page
Reproduction steps
- Clone the repo
pnpm config -g set enable-global-virtual-store truepnpm ipnpm run format
Describe the Bug
I was testing the new global virtual store, but failed to run with eslint on Windows 11. No such issue after running pnpm config -g set enable-global-virtual-store false and reinstall.
> pnpm run format
> maple-font-page@7.3.1 format E:\front\maple-font-page
> eslint --fix --cache
Oops! Something went wrong! :(
ESLint: 9.28.0
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@typescript-eslint/types' imported from E:\_env\pnpm\store\v10\links\@unocss\eslint-plugin\66.1.4\94c62d234531133edce026b11999462adfbeea03854a92d2b7d7bd678cb344b2\node_modules\@unocss\eslint-plugin\dist\index.mjs
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:256:9)
at packageResolve (node:internal/modules/esm/resolve:768:81)
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)
ELIFECYCLE Command failed with exit code 2.
Expected Behavior
Run eslint without error
Which Node.js version are you using?
22.16.0
Which operating systems have you used?
- macOS
- Windows
- Linux
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
Reactions are currently unavailable