Giter Site home page Giter Site logo

因为有next项目,所以之前升级了node版本,Node.js v20.11.1,umi版本3.5.36 启动访问项目 会报错AssertionError [ERR_ASSERTION]: chunk of umi not found. about umi HOT 4 CLOSED

LBJDJW avatar LBJDJW commented on May 22, 2024
因为有next项目,所以之前升级了node版本,Node.js v20.11.1,umi版本3.5.36 启动访问项目 会报错AssertionError [ERR_ASSERTION]: chunk of umi not found.

from umi.

Comments (4)

github-actions avatar github-actions commented on May 22, 2024

由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。

from umi.

xiaohuoni avatar xiaohuoni commented on May 22, 2024

群里看到类似的,加一个环境变量试试 NODE_OPTIONS=--openssl-legacy-provider

from umi.

LBJDJW avatar LBJDJW commented on May 22, 2024

群里看到类似的,加一个环境变量试试 NODE_OPTIONS=--openssl-legacy-provider

我试过了 这次不行 我现在降node版本了

from umi.

fz6m avatar fz6m commented on May 22, 2024

有很多项目他们要求的 node 版本号不同是很正常的,因为新旧不同,不可能都能用最新的 node 跑起来,不然 node 还发大版本干啥,必然可能有 breaking change 。

所以最好得在项目里加入 nvm 的配置,让 nvm 自动去切换 node 版本,如果 nvm 觉得太重影响终端启动时间,就用 fnm 手动去修改 node 版本再启动项目即可,你可以设定一些 alias 来加快切换 node 版本的过程。

或者你可以尝试 node v18 能不能用,能用的话就没必要 v20 。

from umi.

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.