You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use pinia or vue-use in the fresh Nuxt3 project, but getting this error:
[nuxt] [request error] [unhandled] [500] The requested module 'vue' does not provide an export named 'default'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:533:24)
at async ViteNodeRunner.interopedImport (./node_modules/.pnpm/[email protected]/node_modules/vite-node/dist/client.mjs:268:17)
at async ViteNodeRunner.directRequest (./node_modules/.pnpm/[email protected]/node_modules/vite-node/dist/client.mjs:175:24)
at async ViteNodeRunner.cachedRequest (./node_modules/.pnpm/[email protected]/node_modules/vite-node/dist/client.mjs:128:12)
at async request (./node_modules/.pnpm/[email protected]/node_modules/vite-node/dist/client.mjs:151:16)
at async ./node_modules/.pnpm/@[email protected]/node_modules/@vueuse/shared/index.mjs:1:238
at async ViteNodeRunner.directRequest (./node_modules/.pnpm/[email protected]/node_modules/vite-node/dist/client.mjs:251:5)
We were running into this problem intermittently locally when we were updating to Vue3. We found that when switching between the "Vue2" and "Vue3" branches, we'd sometimes need to delete our node_modules and rerun yarn install.
So it seems like maybe a yarn issue where somehow it isn't clearing out old stuff, and old and new node_modules are interfering with one another...?
Trying to use
pinia
orvue-use
in the fresh Nuxt3 project, but getting this error:package.json:
Environment:
The text was updated successfully, but these errors were encountered: