Code Monkey home page Code Monkey logo

Comments (5)

MapoMagpie avatar MapoMagpie commented on June 10, 2024 1

我用node v18.x试了,打包后的文件没问题。我的系统是linux。

from eh-view-enhance.

MapoMagpie avatar MapoMagpie commented on June 10, 2024

node v21.2.0 npm 10.2.3
你打包的我试了下,出现的错误和我 npm run dev 重新热部署时的错误一样,不知道哪里的问题。
你可以试试切换到最新的node再打包试试。

from eh-view-enhance.

kakuri2020 avatar kakuri2020 commented on June 10, 2024

windows平台下的node最多只有 v20.4.0, 我切换过去还是不行

我去linux试了一下,发现同样的操作,结果就和你master上的一样了

可能是windows下的什么神秘问题 😄

from eh-view-enhance.

kakuri2020 avatar kakuri2020 commented on June 10, 2024

我试了一下,可能是vite 或者node 或者别的什么在处理module 循环依赖的时候,两个平台下的表现不一样导致的

左边是linux 右边是 windows,在windows下一旦出现循环引用,就会有 xx$1 这样的变量出现。。导致代码出问题。

image

image

image

image

from eh-view-enhance.

MapoMagpie avatar MapoMagpie commented on June 10, 2024

还有这种事,真是涨见识了。我看看啥时候把循环依赖的问题处理了。

from eh-view-enhance.

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.