israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main) $ npm install…
- User
israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main) $ npm install eslint-plugin-globals --save-dev npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.org/eslint-plugin-globals - Not found npm error 404 npm error 404 'eslint-plugin-globals@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git url. npm error A complete log of this run can be found in: C:\Users\israe\AppData\Local\npm-cache_logs\2024-09-10T09_03_31_974Z-debug-0.log
israe@DESKTOP-1KQFLP1 MINGW64 ~/Documents/GitHub/webapp (main)
- Assistant
The error message indicates that the package
eslint-plugin-globalsis not found in the npm registry, meaning it may not exist under that name. To resolve this, consider the following steps:-
Check the Package Name: Make sure the package name is correct. You can search for the package on npm's website to verify its existence.
-
Alternative Packages: If
eslint-plugin-globalswas the intended package, consider looking for alternative packages that might offer similar functionality. You might be interested in theglobalspackage, which provides a list of global variables:npm install globals --save-dev. -
Custom ESLint Configurations: If you are trying to add global variables to your ESLint configuration, you can directly specify them in your or in like this:
-
- User
- Assistant
It looks like there are a few issues here regarding
pnpmand possibly a corrupted global installation. Let's go through how you can address these: - User
Node.js v20.16.0 PS C:\Users\israe\Documents\GitHub\webapp> npm audit fix Debugger attached. Waiting for the debugger to disconnect... Debugger attached.
up to date, audited 375 packages in 1s
126 packages are looking for funding run
npm fundfor detailsfound 0 vulnerabilities Waiting for the debugger to disconnect... PS C:\Users\israe\Documents\GitHub\webapp> npm run init Debugger attached. Waiting for the debugger to disconnect... Debugger attached.
@marblism/monorepo@4.0.0 init pnpm install && pnpm run --filter server init ; pnpm run --filter web init
Debugger attached. ERR_PNPM_UNSUPPORTED_ENGINE Unsupported environment (bad pnpm and/or Node.js version)
Your pnpm version is incompatible with "C:\Users\israe\Documents\GitHub\webapp".
Expected version: 9.9.0 Got: 9.10.0
This is happening because the package's manifest has an engines.pnpm field specified. To fix this issue, install the required pnpm version globally.
To install the latest version of pnpm, run "pnpm i -g pnpm". To check your pnpm version, run "pnpm -v". Waiting for the debugger to disconnect... Waiting for the debugger to disconnect...
- Assistant
The core issue here revolves around the project enforcing a specific
pnpmversion (9.9.0) via the field in its , and you currently have a slightly different version (9.10.0) installed. This has resulted in the environment being flagged as unsupported.