Comments (6)
如果用npm run serve的话,经常会出现第一次成功,之后再改动代码,编译的进度条走到一半就退出了,几乎没有办法边改边看
from mpx.
可以添加--no-clear 来解决该问题,目前 run serve 会把之前的文件移除掉,保证产物正确。
from mpx.
如果用npm run serve的话,经常会出现第一次成功,之后再改动代码,编译的进度条走到一半就退出了,几乎没有办法边改边看
这个问题辛苦提供个复现repo
from mpx.
如果用npm run serve的话,经常会出现第一次成功,之后再改动代码,编译的进度条走到一半就退出了,几乎没有办法边改边看
这个问题辛苦提供个复现repo
https://github.com/rcocco/mpx-serve-exit
第一次npm run server会成功,然后我再次按ctrl+s保存,触发了重新打包,然后每次到65%左右就退出了
PS D:\Software\Project\demo\mpx-demo\tdesign-demo> npm run serve
> [email protected] serve
> mpx-cli-service serve
✔ wx-development
Compiled successfully
assets by path components/ 134 KiB 20 assets
● wx-development █████████████████████████ building (65%) 7/7 entries 2155/2155 dependencies 663/664 modules 1 active
ts-loader › src\global.d.ts
PS D:\Software\Project\demo\mpx-demo\tdesign-demo>
from mpx.
如果用npm run serve的话,经常会出现第一次成功,之后再改动代码,编译的进度条走到一半就退出了,几乎没有办法边改边看
这个问题辛苦提供个复现repo
https://github.com/rcocco/mpx-serve-exit 第一次npm run server会成功,然后我再次按ctrl+s保存,触发了重新打包,然后每次到65%左右就退出了
PS D:\Software\Project\demo\mpx-demo\tdesign-demo> npm run serve > [email protected] serve > mpx-cli-service serve ✔ wx-development Compiled successfully assets by path components/ 134 KiB 20 assets ● wx-development █████████████████████████ building (65%) 7/7 entries 2155/2155 dependencies 663/664 modules 1 active ts-loader › src\global.d.ts PS D:\Software\Project\demo\mpx-demo\tdesign-demo>
#1408 已修复
from mpx.
https://github.com/didi/mpx/releases/tag/v2.9.18
serve问题已修复
from mpx.
Related Issues (20)
- [Bug report]微信小程序provide/inject使用无效 HOT 1
- [Feature Request] 是否支持入口文件是app.xxx呢 HOT 2
- [Bug report] 构建支付宝小程序后,在开启mpx事件代理的情况下,bindregionchange 事件不触发 HOT 5
- [Bug report] npm run serve 报错Error: Build error HOT 4
- [Bug report] serve web ts报错 HOT 1
- [Bug report] 2.9.x版本 eslint 报错导致 serve 跑不起来 HOT 1
- [Bug report] `onLoad`, `onShow` and so on hooks not found in node_modules/@mpxjs/core/src/index.js HOT 3
- [Bug report] 最新的core类型声明为什么删除了对PropType类型的支持? HOT 1
- [Bug report]optimizeRenderRules 优化导致的bug HOT 2
- [Bug report] 使用setData更新数据时,某些场景会报错:TypeError: Cannot read property 'length' of null HOT 1
- web平台 onReachBottom 事件报错 HOT 1
- [Bug report]微信小程序不支持component动态引入组件 HOT 2
- 转 web 时 `scss` 通过 additionalData 引入的全局变量 px 不会被转化为 vw 或 rem HOT 1
- wx 转 web 时 externalClasses 不生效 HOT 3
- [Bug report] 转 web时通过 js 引用图片时生成的 原子类代码会有乱码 HOT 1
- [Bug report] Skyline 模式下 worklet 函数写在 composition api 的 setup 中不被触发,写在 methods 中可以触发 HOT 4
- [Feature Request] 希望增加开关控制是否将 unocss 写的临时 px 值在编译结果里转换为 rpx HOT 8
- [Bug report]编译为支付宝小程序不会处理custom-tab-bar目录 HOT 1
- 微信 转 web 时使用 `relations` 建立组件关系,使用`getRelationNodes`获取关联组件报错 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 mpx.