Giter VIP home page Giter VIP logo

Comments (7)

bigmeow avatar bigmeow commented on July 29, 2024 2

真正原因找到了,之前 webpack 版本锁死了 "webpack": ">=4 < 4.29", webpack-dev-middleware
更新而webpack没有跟上,@megalo/[email protected] 中已修复

from megalo.

fengzhiqiang012 avatar fengzhiqiang012 commented on July 29, 2024

按照官方流程
npm run dev:wechat 会卡到 95%
npm run build:wechat 正常

from megalo.

yoohoxiao avatar yoohoxiao commented on July 29, 2024

我也遇到了同样的问题,谁能告诉一下这个问题怎么解决。

from megalo.

panyu97py avatar panyu97py commented on July 29, 2024

遇到同样的问题

from megalo.

wangzhengbo avatar wangzhengbo commented on July 29, 2024

遇到同样的问题

from megalo.

QuincyX avatar QuincyX commented on July 29, 2024

遇到同样的问题
之前的megalo项目正常,把 node_modules 删掉后重新 npm i 就出现异常
猜测可能是某个依赖包升级造成的

对比了前后的 package-lock 文件
@babel 的一系列包 7.5.5 => 7.6.0
@megalo 的相关包 1.0.0 beta1 => 1.0.0 beta2
acorn 5.7.3 => 6.3.0

from megalo.

bigmeow avatar bigmeow commented on July 29, 2024

问题是由于 webpack-dev-server 中的依赖 webpack-dev-middleware更新引起的
image

我已经发布了@megalo/[email protected] 版本通过锁死webpack-dev-middleware 版本来解决这个问题,各位更新下依赖即可。
注意:使用 yarn install 安装的可能依旧有这个问题,先使用 npm install

from megalo.

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.