ERROR Failed to compile with 1 error PM 6:26:46
This relative module was not found:
* ./RoleFormDialog in ./node_modules/cache-loader/dist/cjs.js??ref–13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref–1-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref–1-1!./src/views/Role/List.vue?vue&type=script&lang=js
Solution:
Also change the directory where the source file is located to any other name (here it is changing Role to RoleAAA) and then change back to the original name (here it is changing back to Role), yarn will automatically clear the cache and the problem is solved.
Read More:
- [Solved] Failed to Create Vue Scaffold Error: spawn yarn ENOENT
- Vue element component V-for error [How to Modify)
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- [Solved] Vue Project Modify Page Error: CALL_AND_RETRY_LAST Allocation failed – JavaScript heap out of memory
- node.js yarn Error: SyntaxError: Unexpected string [How to Solve]
- [Solved] Vue Use gzip Package Error: Rule can only have one resource source
- [Solved] Vue Error: Syntax Error: TypeError: Cannot set properties of undefined (setting ‘XXX’)
- [Solved] Vue Error: Error: Rule can only have one resource source (provided resource and test + include + ex
- [Solved] VUE npm install Error: Module build failed: Error: ENOENT: no such file or directory, scandir
- How to Solve Vscode save Vue file eslint error
- [Solved] Vue-cli Create Project Error: ERROR command failed: yarn
- [Solved] VUE3 Error: Error: ENOSPC: System limit for number of file watchers reached
- [Solved] Error Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Error Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- Error: Rule can only have one resource source (provided resource and test + include + exclude)
- [Solved] Vue Error: Parsing error: No Babel config file detected for /Users/Usename/xxx…
- [Solved] Vue Error: Parsing error: No Babel config file detected for
- [Solved] Vue Error: Module build failed Error Node Sass version 6.0.1 is incompatible with ^4.0.0.
- Vue installation @ Vue/cli error: npmerr gyp err