Comments (7)
真正原因找到了,之前 webpack 版本锁死了 "webpack": ">=4 < 4.29", webpack-dev-middleware
更新而webpack
没有跟上,@megalo/[email protected]
中已修复
from megalo.
按照官方流程
npm run dev:wechat 会卡到 95%
npm run build:wechat 正常
from megalo.
我也遇到了同样的问题,谁能告诉一下这个问题怎么解决。
from megalo.
遇到同样的问题
from megalo.
遇到同样的问题
from megalo.
遇到同样的问题
之前的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.
问题是由于 webpack-dev-server 中的依赖 webpack-dev-middleware更新引起的
我已经发布了@megalo/[email protected]
版本通过锁死webpack-dev-middleware 版本来解决这个问题,各位更新下依赖即可。
注意:使用 yarn install
安装的可能依旧有这个问题,先使用 npm install
from megalo.
Related Issues (20)
- megalo是不是停止开发了呀? HOT 11
- WXMLRT_$gwx:./components/slots.wxml:template:22:30: Template `xxxx` not found.
- css作用域问题 HOT 1
- 关于组件slot在支付宝上异常,但在微信上表现正常的问题。 HOT 1
- 关于编译支付宝小程序使用async时报错的问题。 HOT 2
- 提供选项控制是否压缩 模板 中的代码
- 请问什么时候能支持组件多层嵌套
- 请问有计划支持快应用吗?
- v-for`多层嵌套,当外层循环和内层循环的 `:key` 重名时,会导致 `f_` 取到错误的值的情况。
- mounted钩子执行顺序问题
- 钉钉群 二维码已过期
- 使用变量名c 导致获取vm为null的bug
- vux ui组件,报错
- 能否更新下entry 包,加下处理 HOT 3
- npm run dev:wechat 报错Error: Cannot find module '@megalo/target' 这个包我下载了啊。为什么找不到
- 引用vantweapp原生组件,类似click-overlay事件绑定不了
- 控制在初始化时候不执行App 函数
- http://megalojs.org 官网域名过期访问不了了 HOT 1
- 60% building 550/650 modules 100 active ... 终端闪退 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megalo.