use of histoire in nuxt3 returns vite "could not resolve" errors
See original GitHub issueDescribe the bug
after setting up histoire in nuxt3 and running histoire dev
, vite returns a couple of could not resolve
errors
it also happens on the nuxt3 StackBlitz demo on the histoire docs
Reproduction
https://stackblitz.com/edit/histoire-nuxt3-starter
System Info
System:
OS: macOS 12.5.1
CPU: (4) x64 Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz
Memory: 1.64 GB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.13.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.1.0 - /usr/local/bin/npm
Browsers:
Chrome: 105.0.5195.125
Firefox: 103.0.2
Safari: 15.6.1
npmPackages:
@histoire/plugin-nuxt: ^0.10.7 => 0.10.7
@histoire/plugin-vue: ^0.10.7 => 0.10.7
histoire: ^0.10.7 => 0.10.7
vite: ^3.0.9 => 3.1.3
Used Package Manager
yarn
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (5 by maintainers)
Top Results From Across the Web
pnpm support without `--shamefully-hoist` · Issue #5411 - GitHub
When pages enabled, vue-router dependency is implicit; Multiple instances of vue are can be resolved and used; Generated tyeps are not fully ...
Read more >Vite/Nuxt3 not working and there are no errors - Stack Overflow
I'm completely confused because Vite works perfectly fine without Nuxt and I can scaffold a Vue application with Vite using the npm create ......
Read more >Dev SSR on Nuxt with Vite - Anthony Fu
The reason why this is needed is that Vite uses a different module resolution algorithm than Node, it was made for the browser's...
Read more >Configuring Vitest
If you want to have a different configuration for testing or your main app doesn't rely on Vite specifically, you could either: Create...
Read more >Nuxt 3 first steps. - ITNEXT
npx nuxi init nuxt3-app · npm install or yarn · [vite:import-analysis] Cannot read property 'uid' of undefined · yarn add -D eslint @typescript-eslint/eslint- ......
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 Free
Top 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
I confirm after upgrade to NUXT RC11 i’ve got the same error
Yup looks like the issue is still here 😐