Giter VIP home page Giter VIP logo

Comments (3)

prazdevs avatar prazdevs commented on August 11, 2024

Idk about the state of the compatibility with unocss, but I'd happily contribute to helping it work!

Edit; after investigating a bit (im still new to this very low level kind of node development and vite :3), just adding the missing send function as a stub from vitest-dev/vitest@b1624db it works!

So [email protected] seems to work, but 0.32.0 doesnt anymore 🤔

What i understood:

0.31.0 fixed the __vite_ssr_import_meta__.hot.send is not a function error by stubbing this correctly.

They introduced an error throw in 0.32.0 if a module is not resolved. And multiple virtual modules called by histoire (/__resolved__virtual:$histoire-support-plugins-collect, virtual:$histoire-noop, /__resolved__virtual:$histoire-generated-global-setup) dont seem to be resolved (they return null).

I don't really understand much more yet, such as the purpose of each unresolved histoire virtual module and why they aren't resolved.

Hopefully this helps ?

from histoire.

serkodev avatar serkodev commented on August 11, 2024

Is it feasible to temporarily solve the problem by submitting a PR to upgrade the vitest version to 0.31.4 ?

from histoire.

Codermar avatar Codermar commented on August 11, 2024

I have the same problem (although histoire still runs) and the pnpm entry in package.json does not work.
Is there any update on this issue?

from histoire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.