Error when Vue item in vscode starts:
These dependencies were not found:
* throttle-debounce/debounce in ./ node_ modules/element-ui/lib/tooltip. js
* throttle-debounce/throttle in ./ node_ modules/element-ui/lib/element-ui. common. js
To install them, you can run: npm install –save throttle-debounce/debounce throttle-debounce/throttle
According to the prompts, there is still an error after installation. After changing the path, it can run normally. It seems that there is a difference in the resource introduction path between the idea editor and the vscode editor.
Follow the prompts in the error report to find the relevant file tooltip JS and common JS, where the path is:
Change the path to:
module. exports = require(“element-ui/node_modules/throttle-debounce”);
Find all the places that need to be changed, and then run the project after modification.
Similar Posts:
- ERROR in ./~/[email protected]@element-ui/lib/element-ui.common.js Module not found: Error: Can’t re
- [Solved] Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] TypeError: Property value expected type of string but got null
- [HPM] Error occurred while trying to proxy request
- After installing nodejs, running NPM – V will cause (module. JS: 339 throw err..) error. Solution
- Completely Uninstall Node.js from Mac OS X
- Solution to the failure of node rdkafka in docker build
- How to Solve Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor’
- Error: Can’t walk dependency graph: Cannot find module ‘@popperjs/core’ from ‘node_modules\bootstrap\dist\js\bootstrap.esm.js’
- Mac download wepy error reporting solution