Giter Club home page Giter Club logo

Comments (8)

sky-admin avatar sky-admin commented on May 12, 2024

无法复现,应该和框架无关,尝试检查下系统的权限相关的设定。

from mpx.

hiyuki avatar hiyuki commented on May 12, 2024

麻烦提供一下系统版本及node版本

from mpx.

ialmost avatar ialmost commented on May 12, 2024

麻烦提供一下系统版本及node版本

系统不存在权限问题
image

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.

ialmost avatar ialmost commented on May 12, 2024

今天发现一个情况
只有在 微信开发者工具 和 vscode 同时运行的情况下,run watch 才会出现这样的状况
如果微信开发者工具没有运行,run watch 一切正常
微信开发者工具版本号 v1.02.1901230

from mpx.

hiyuki avatar hiyuki commented on May 12, 2024

排查了一下这是rimraf在windows下可能出现的一个问题,rimraf的同步调用在windows下对于enotempty错误会进行100次重试,异步调用时没有该处理,我们将rimraf的调用改为同步后基本不再复现该问题,改动位置为build.js的末尾,将对应代码改为

rm.sync(path.resolve(__dirname, '../dist/*'))
runWebpack(webpackConfig)

from mpx.

ialmost avatar ialmost commented on May 12, 2024

排查了一下这是rimraf在windows下可能出现的一个问题,rimraf的同步调用在windows下对于enotempty错误会进行100次重试,异步调用时没有该处理,我们将rimraf的调用改为同步后基本不再复现该问题,改动位置为build.js的末尾,将对应代码改为

rm.sync(path.resolve(__dirname, '../dist/*'))
runWebpack(webpackConfig)

更改相应代码后,run watch 会出现如下错误
image

from mpx.

heiye9 avatar heiye9 commented on May 12, 2024

我在windows上也遇到同样问题,貌似是因为微信开发者工具锁了文件权限导致的。正准备给微信提反馈时发现昨天的开发版已经修复了
image

from mpx.

ialmost avatar ialmost commented on May 12, 2024

我在windows上也遇到同样问题,貌似是因为微信开发者工具锁了文件权限导致的。正准备给微信提反馈时发现昨天的开发版已经修复了
image

看到了,等稳定版本看看如何

from mpx.

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.