When the following error occurs in the console,it means that the plug-in is installed incorrectly
Can’t resolve ‘ansi-html-community’
Cannot find module ‘is-docker
Don’t use npm install
npm i vuex-persistedstate
But the environment you use is yarn, so you need to use yarn to install the plugin
yarn add vuex-persistedstate
Then the problem can be solved smoothly
Read More:
- [Solved] Vuex state Error: [vuex] do not mutate vuex store state outside mutation handlers.
- [Solved] npm Install vuex Error: npm ERR! code ERESOLVE
- Module not found: Error: Can‘t resolve ‘core-js/modules/es.promise.js‘ in
- [Solved] ERROR in ./src/main.ts Module not found: Error: Can‘t resolve ‘xxx‘
- [Solved] Vue-cli Error: Module not found: Error: Can‘t resolve ‘vue-router ‘
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils
- [Solved] Error: Cannot find module ‘@/views/xxx‘ at webpackEmptyContext
- Error: Cannot find module ‘./application‘ [How to Solve]
- Node.js Error: Cannot find module express [How to Solve]
- [Solved] Error: Cannot find module ‘vue-template-compiler/package.json‘ Require stack:
- Docker Quickstart Terminal Error: No default Boot2Docker ISO found locally
- [Vue Run Error] Module build failed: Error: Couldn‘t resolve parser “babylon“
- [Solved] Error: Cannot find module ‘@vue/cli-shared-utils‘
- Error Cannot find module ‘worker_threads‘ [How to Solve]
- [Solved] Vuex Error: unknown action type: changeUserInfo
- [webpack-cli] Error: Cannot find module ‘vue/compiler-sfc‘
- Module build failed: Error: Couldn’t find preset “es2015” relative to directory
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- The vue3 project Error: Cannot find module’vue-loader-v16/package.json’
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so