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)
- [Feature Request] 希望增加开关控制是否将 unocss 写的临时 px 值在编译结果里转换为 rpx HOT 8
- [Bug report]编译为支付宝小程序不会处理custom-tab-bar目录 HOT 1
- 微信 转 web 时使用 `relations` 建立组件关系,使用`getRelationNodes`获取关联组件报错 HOT 1
- [Bug report] 首次运行pnpm run serve出错 HOT 1
- [Bug report]初始化 npm run serve失败,用了楼上的方法仍然失败 HOT 2
- [Bug report]重新安装脚手架后无法create项目
- [Bug report] `mpx.xfetch`的TS类型报错 HOT 1
- <input> does not support [confirm-type] property in bytedance environment![Bug report] HOT 1
- [Bug report] 多次修改样式调试时报:Cannot read property 'call' of undefined HOT 20
- 可以使用 Vue - Official (volar) 代替 mpx插件 HOT 2
- [Bug report]原子类与scoped 样式隔离bug HOT 2
- Skyline是否支持 HOT 1
- webstorm 2024.1.1什么时候支持mpx插件呢 HOT 2
- [Bug report] 关于编译过程中修改样式导致小程序预览提示报错。 HOT 1
- [Bug report] wxml 存在 <template is="xxx" /> 引用模板的时候,template 里边的事件没法编译,使用不了proxyEventHandler HOT 3
- 请问有能让astro或mdx支持适配mpx的集成包吗 HOT 2
- [Feature Request] 支持 Skyline app-bar(全局工具栏) HOT 2
- [Bug report] 接入火山埋点SDK后报错 HOT 1
- [Bug report]@mpxjs/size-report 插件启动可视化平台显示异常 HOT 1
- setComponentRef 方法在支付宝的分包异步化下读缓存是否存在问题? 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.