@vueuse/core error after cloning
See original GitHub issueI cloned the rep I start pnpm dev and I get this error :
failed to load config from /home/patrice/Websites/obizoo/obizoo.vue/vite.config.ts
error when starting dev server:
Error: [auto-import] failed to load @vueuse/core, have you installed it?
at vueuse_core_default (/home/patrice/Websites/obizoo/obizoo.vue/node_modules/.pnpm/unplugin-auto-import@0.1.7_vite@2.5.1/node_modules/unplugin-auto-import/dist/chunk-U6Z5VRX4.js:136:13)
at /home/patrice/Websites/obizoo/obizoo.vue/node_modules/.pnpm/unplugin-auto-import@0.1.7_vite@2.5.1/node_modules/unplugin-auto-import/dist/chunk-G7WHTJIF.js:32:51
at Array.forEach (<anonymous>)
at flattenImportsMap (/home/patrice/Websites/obizoo/obizoo.vue/node_modules/.pnpm/unplugin-auto-import@0.1.7_vite@2.5.1/node_modules/unplugin-auto-import/dist/chunk-G7WHTJIF.js:27:36)
at resolveOptions (/home/patrice/Websites/obizoo/obizoo.vue/node_modules/.pnpm/unplugin-auto-import@0.1.7_vite@2.5.1/node_modules/unplugin-auto-import/dist/chunk-G7WHTJIF.js:16:19)
at /home/patrice/Websites/obizoo/obizoo.vue/node_modules/.pnpm/unplugin-auto-import@0.1.7_vite@2.5.1/node_modules/unplugin-auto-import/dist/chunk-G7WHTJIF.js:108:20
at /home/patrice/Websites/obizoo/obizoo.vue/node_modules/.pnpm/unplugin@0.2.3_vite@2.5.1/node_modules/unplugin/dist/index.cjs:45:23
at Object.<anonymous> (/home/patrice/Websites/obizoo/obizoo.vue/vite.config.ts:58:30)
at Module._compile (internal/modules/cjs/loader.js:1251:30)
at Object.require.extensions.<computed> [as .ts] (/home/patrice/Websites/obizoo/obizoo.vue/node_modules/.pnpm/vite@2.5.1/node_modules/vite/dist/node/chunks/dep-972722fa.js:75935:20)
ERROR Command failed with exit code 1.
Issue Analytics
- State:
- Created 2 years ago
- Comments:25 (8 by maintainers)
Top Results From Across the Web
npm run errors after cloning Vue 3 repo to a new machine
Hi I've just cloned one of my Vue 3 repositories from GitHub onto a different laptop. Ran npm install to build the node_modules....
Read more >@vueuse/core - npm
Start using @vueuse/core in your project by running `npm i @vueuse/core`. There are 1142 other projects in the npm registry using @vueuse/core.
Read more >Fix Error After Cloning HDD SSD - Error in file winload.efi
Reparar el error después de clonar HDD SSD - Error en el archivo winload.efiCommands to use:diskpartlist volumeselect volume X : X partition ...
Read more >Vue cloning issue - Stack Overflow
I can't seem to figure out why the event listener is not getting attached to the clones. Will cloneNode() mess up Vue?
Read more >VueUse | VueUse
View on GitHub. VueUse ... @vueuse/core. Jelf's avatar. Jelf. useElementByPoint useScreenSafeArea. webfansplz's avatar. webfansplz. FE Developer
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Problem solved On Ubuntu 21.04 an old version of node was installed 12.x.x with sudo apt install node. Newest version of node 16.8.0 was installed with nvm. node -v would return v16.8.0 but I guess some files from 12.x.x were still used.
I removed both versions and then re installed node with nvm, no error
npx envinfo --system --binaries