Giter Site home page Giter Site logo

项目运行错误 about vite-react HOT 6 CLOSED

yunsii avatar yunsii commented on May 10, 2024
项目运行错误

from vite-react.

Comments (6)

yunsii avatar yunsii commented on May 10, 2024 1

@Ianpig Thanks for your feedback, I found the same error in vitjs/vit#7 but the auther has no response then.

After all, the error casued by use-subscription the same major version of ^1.5.1, I fixed it by ~1.5.1 in vitjs/vit#9 so upgrade vitjs/vit & vitjs/runtime to lastest version will fix the error.

This tells me underlying framework should has more stricter version control.

from vite-react.

ianccy avatar ianccy commented on May 10, 2024 1

@yunsii thanks. i will try it later.

from vite-react.

yunsii avatar yunsii commented on May 10, 2024

好歹贴个报错啊 _(:з」∠)_

from vite-react.

ianccy avatar ianccy commented on May 10, 2024

Hi, yunsii
Here is the error message snapshot.

Screen Shot 2022-09-21 at 1 09 50 PM

If i mark dynamicImport.loading and the problem will not happan.

  • vite.config.ts
    vitApp({
      routes,
      // dynamicImport: {
      //   loading: './components/PageLoading',
      // },
      exportStatic: {},
    }),

from vite-react.

yunsii avatar yunsii commented on May 10, 2024

Thanks, I will try to resolve it tonight

from vite-react.

yunsii avatar yunsii commented on May 10, 2024

After a short research, I found that vitjs/vit example works very well. I will dive into the question in the weekend.

from vite-react.

Related Issues (6)

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.