Comments (8)
无法复现,应该和框架无关,尝试检查下系统的权限相关的设定。
from mpx.
麻烦提供一下系统版本及node版本
from mpx.
麻烦提供一下系统版本及node版本
node: v8.11.3
vscode
版本: 1.30.2 (user setup)
提交: 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
日期: 2019-01-07T22:54:13.295Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Windows_NT x64 10.0.17763
from mpx.
今天发现一个情况
只有在 微信开发者工具 和 vscode 同时运行的情况下,run watch 才会出现这样的状况
如果微信开发者工具没有运行,run watch 一切正常
微信开发者工具版本号 v1.02.1901230
from mpx.
排查了一下这是rimraf在windows下可能出现的一个问题,rimraf的同步调用在windows下对于enotempty错误会进行100次重试,异步调用时没有该处理,我们将rimraf的调用改为同步后基本不再复现该问题,改动位置为build.js的末尾,将对应代码改为
rm.sync(path.resolve(__dirname, '../dist/*'))
runWebpack(webpackConfig)
from mpx.
排查了一下这是rimraf在windows下可能出现的一个问题,rimraf的同步调用在windows下对于enotempty错误会进行100次重试,异步调用时没有该处理,我们将rimraf的调用改为同步后基本不再复现该问题,改动位置为build.js的末尾,将对应代码改为
rm.sync(path.resolve(__dirname, '../dist/*')) runWebpack(webpackConfig)
from mpx.
我在windows上也遇到同样问题,貌似是因为微信开发者工具锁了文件权限导致的。正准备给微信提反馈时发现昨天的开发版已经修复了
from mpx.
我在windows上也遇到同样问题,貌似是因为微信开发者工具锁了文件权限导致的。正准备给微信提反馈时发现昨天的开发版已经修复了
看到了,等稳定版本看看如何
from mpx.
Related Issues (20)
- [Feature Request] CSS 样式的条件编译 在使用预编译(比如SCSS)的时候不支持 HOT 4
- [Bug report] 跨端转百度小程序setup执行报错 HOT 2
- [Bug report] 关于小程序通过 this.properties 获取外部传入参数的问题 HOT 3
- [Bug report]修改数据(对象or数组)后页面未更新 HOT 3
- [Bug report] 数据变化无法更新页面的问题 HOT 1
- [Bug report]跨端转百度小程序执行报错Page not found HOT 2
- i18n多语言 HOT 1
- 有考虑支持skyline引擎进行渲染吗 HOT 1
- 事件名带有连字符-的情况下,无法使用mpx的事件处理内联传参的增强机制 HOT 2
- [Bug report] @mpx/cli 3.x 分包无效
- [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
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.