Solution:
1. Delete node_modules folder, re-execute the command NPM install
2. Rename Public/index.html to index.ejs
3. Add html: { template: './src/index.ejs' }
in node_nodules/webpack/bin/webpack.
4 Restart project
Read More:
- Vue scaffold creation project and run error [Solved]
- Vue warn]: vue3 element Component emit Pass Event Error
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- “Failed to load resource: net::ERR_FILE_NOT_FOUND” error. The project created by vue-cli 3.0 can run under dev, and an error is reported after packaging, and the page is blank.
- Vue project Run Error: Syntax Error: Error: Cannot find module ‘less‘
- Vue Use ‘npm run dev’ Error: Error: Unknown option ‘–inline‘ [How to Solve]
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- [Solved] Vue Project Error: Module build failed: Error: Missing binding
- [Solved] VUE npm install Error: Module build failed: Error: ENOENT: no such file or directory, scandir
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- [Solved] Vue project deploys nginx to refresh the interface 404 Error
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- [Solved] Vue Project startup error: no eslint configuration found
- How to Solve Vue project Startup Error (Node Upgrade issue)
- Vue a page is mounted to send multiple requests at the same time, and the loading is processed uniformly
- Module build failed: Error: Couldn’t find preset “es2015” relative to directory
- Vue init webpack Error: unable to verify the first certificate
- Solution to build error in Vue project (error in static/JS)/vendor.xxxxx.js from UglifyJs)
- VScode vue3 Project vetur Error [How to Solve]