Egret社区
感觉是这个路径错误,但是怎么改都不行,这个是要咋搞

PS D:\egret\BSummerMLU3P3的副本> egret run -a
您正在使用白鹭编译器 5.4.1 版本
D:\egret\BSummerMLU3P3的副本\scripts\plugins\node_modules\@egret\egret-webpack-bundler:1
/Users/wang/Library/Application Support/EgretLauncher/download/EgretCompiler/@egret/egret-webpack-bundler
^

SyntaxError: Invalid regular expression flags
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (D:\egret\BSummerMLU3P3的副本\scripts\plugins\webpack-plugin.ts:39:31)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.jsLoaderWrapper [as .ts] (C:\Users\Administrator\AppData\Roaming\Egret\engine\5.4.1\tools\lib\resourcemanager\index.js:3035:56)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at n (C:\Users\Administrator\AppData\Roaming\Egret\engine\5.4.1\tools\lib\resourcemanager\index.js:2879:21)
TypeError: Cannot read property 'typeSelector' of undefined
    at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\Egret\engine\5.4.1\tools\lib\resourcemanager\index.js:2283:48)
    at r (C:\Users\Administrator\AppData\Roaming\Egret\engine\5.4.1\tools\lib\resourcemanager\index.js:2184:27)
    at Object.throw (C:\Users\Administrator\AppData\Roaming\Egret\engine\5.4.1\tools\lib\resourcemanager\index.js:2137:28)
    at s (C:\Users\Administrator\AppData\Roaming\Egret\engine\5.4.1\tools\lib\resourcemanager\index.js:2122:34)

WeChat7a4819fa86349ac53d45a9f08ba70685.png
分享到 :
0 人收藏

1 个回复

倒序浏览
app小王子  社区管理员 | 前天 14:37
你试试把Scripts/plugin/node_module/@egret文件夹给删除掉,然后重新执行指令
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|京网文[2014]0791-191号|京ICP证150115号|Egret社区 ( 京ICP备14025619号 )

Powered by Discuz! X3.4 © 2001-2019 Comsenz Inc.

返回顶部