Note: this error pops up when I try to package the vscode plug-in
I found that many situations may lead to this error
Command failed: npm list --production --parseable --depth=99999 --loglevel=error. Please pay attention.
After some troubleshooting, I found that the reason I got this error was because I started installing the vsce package in the current location, and then I decided that it was wrong and changed it to a global installation. Then, instead of uninstalling vsce from the current location, I just deleted the node_modules folder. The error occurred because the vsce package command was not executed correctly because it was not uninstalled and then deleted.
vsce package at the current location,
npm install vsce,
npm uninstall vsce to uninstall.
Finally, you can choose to delete
- [Solved] Vue create error: ERROR: command failed: npm install –loglevel error
- [Solved] Vue create Create Project Error: command failed: npm install –loglevel error
- package.json Scripts configuration environment variable distinguishes development environment from production environment
- [Solved] Package Install Error: npm ERR code ERR_SOCKET_TIMEOUT npm ERR
- [Solved] NPM err! Cannot read property ‘parent’ of null npm ERR! A complete log of this run can be found in: npm ERR!
- [Solved] npm Install vuex Error: npm ERR! code ERESOLVE
- [Solved] Vue3 npm ERR code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC
- [Solved] NPM Error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
- [Solved] VUE npm install Error: Module build failed: Error: ENOENT: no such file or directory, scandir
- How to Solve NPM installation -g @view/client Error
- [Solved] error C:\Users\HP\Desktop\VueProject\vue_cli\node_modules\node-sass: Command failed.Exit code: 1
- [Solved] ERROR Error loading vue.config.js: ERROR Error: Command failed: git describe
- npm ERR code ELIFECYCLE [How to Solve]
- [Solved] npm Error: Class extends value undefined is not a constructor or null
- [Solved] Vue-cli Create Project Error: ERROR command failed: yarn
- Vscode save Vue format eslint check error [How to Solve]
- VScode vue3 Project vetur Error [How to Solve]
- npm install error code EINTEGRITY sha1 [How to Solve]
- [Solved] Node.js v17 npm run dev Error: opensslErrorStack