question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

use of histoire in nuxt3 returns vite "could not resolve" errors

See original GitHub issue

Describe 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

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
taha-azzabicommented, Oct 7, 2022

I confirm after upgrade to NUXT RC11 i’ve got the same error image

3reactions
Akryumcommented, Oct 4, 2022

Yup looks like the issue is still here 😐

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found