Egret社区
本帖最后由 hanfei 于 2020-9-20 16:11 编辑

game loadScript error: Error: Error: Error: ENOENT: no such file or directory, open 'C:\Users\mz\AppData\Local\Programs\bytedanceide\resources\app.asar.unpacked\simulator-sdk\temFiles\dist\public\1d30187dc2f7cd2cdfcfd5091ecc6c1a\js\main.min.js'
    at Object.fs.openSync (fs.js:577:3)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:166:20)
    at Object.fs.readFileSync (fs.js:483:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:563:29)
    at t.getFileSync (C:\Users\mz\AppData\Local\Programs\bytedanceide\resources\app.asar.unpacked\simulator-sdk\dist\preload\bgPreload.66de7a37b9a14bbea751.js:29:32721)
    at V (C:\Users\mz\AppData\Local\Programs\bytedanceide\resources\app.asar.unpacked\simulator-sdk\dist\preload\bgPreload.66de7a37b9a14bbea751.js:277:292109)
    at Object.loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:311:30)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:9545)
    at i (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10151)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:2:298)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10169)
    at i (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10151)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:3:69)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10169)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:11:1)
    at eval (<anonymous>)
    at http://127.0.0.1:20001/static/di ... l?windowId=4:313:25
    at loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:315:22)
    at http://127.0.0.1:20001/static/di ... l?windowId=4:286:21
    at http://127.0.0.1:20001/static/di ... l?windowId=4:314:37
    at loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:315:22)
    at Object.parentContext.loadTmaCore (http://127.0.0.1:20001/static/di ... l?windowId=4:285:17)
    at http://127.0.0.1:20001/static/di ... ubContext.js:150:15
    at t.getFileSync (C:\Users\mz\AppData\Local\Programs\bytedanceide\resources\app.asar.unpacked\simulator-sdk\dist\preload\bgPreload.66de7a37b9a14bbea751.js:29:32780)
    at V (C:\Users\mz\AppData\Local\Programs\bytedanceide\resources\app.asar.unpacked\simulator-sdk\dist\preload\bgPreload.66de7a37b9a14bbea751.js:277:292109)
    at Object.loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:311:30)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:9545)
    at i (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10151)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:2:298)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10169)
    at i (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10151)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:3:69)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10169)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:11:1)
    at eval (<anonymous>)
    at http://127.0.0.1:20001/static/di ... l?windowId=4:313:25
    at loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:315:22)
    at http://127.0.0.1:20001/static/di ... l?windowId=4:286:21
    at http://127.0.0.1:20001/static/di ... l?windowId=4:314:37
    at loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:315:22)
    at Object.parentContext.loadTmaCore (http://127.0.0.1:20001/static/di ... l?windowId=4:285:17)
    at http://127.0.0.1:20001/static/di ... ubContext.js:150:15
    at V (C:\Users\mz\AppData\Local\Programs\bytedanceide\resources\app.asar.unpacked\simulator-sdk\dist\preload\bgPreload.66de7a37b9a14bbea751.js:277:292128)
    at Object.loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:311:30)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:9545)
    at i (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10151)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:2:298)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10169)
    at i (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10151)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:3:69)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10169)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:11:1)
    at eval (<anonymous>)
    at http://127.0.0.1:20001/static/di ... l?windowId=4:313:25
    at loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:315:22)
    at http://127.0.0.1:20001/static/di ... l?windowId=4:286:21
    at http://127.0.0.1:20001/static/di ... l?windowId=4:314:37
    at loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:315:22)
    at Object.parentContext.loadTmaCore (http://127.0.0.1:20001/static/di ... l?windowId=4:285:17)
    at http://127.0.0.1:20001/static/di ... ubContext.js:150:15
loadScript @ game.html?windowId=4:317
rA @ VM151:15
i @ VM151:15
(anonymous) @ manifest.js:10
rA @ VM151:15
i @ VM151:15
(anonymous) @ game.js:7
rA @ VM151:15
(anonymous) @ game.js:44
(anonymous) @ game.html?windowId=4:313
loadScript @ game.html?windowId=4:315
(anonymous) @ game.html?windowId=4:286
(anonymous) @ game.html?windowId=4:314
loadScript @ game.html?windowId=4:315
parentContext.loadTmaCore @ game.html?windowId=4:285
(anonymous) @ dev_subContext.js:150
VM151:1 t: module js/main.min.js is not defined
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:9583)
    at i (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10151)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:2:298)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10169)
    at i (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10151)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:3:69)
    at rA (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:15:10169)
    at eval (eval at <anonymous> (http://127.0.0.1:20001/static/di ... l?windowId=4:289:25), <anonymous>:11:1)
    at eval (<anonymous>)
    at http://127.0.0.1:20001/static/di ... l?windowId=4:313:25
    at loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:315:22)
    at http://127.0.0.1:20001/static/di ... l?windowId=4:286:21
    at http://127.0.0.1:20001/static/di ... l?windowId=4:314:37
    at loadScript (http://127.0.0.1:20001/static/di ... l?windowId=4:315:22)
    at Object.parentContext.loadTmaCore (http://127.0.0.1:20001/static/di ... l?windowId=4:285:17)
    at http://127.0.0.1:20001/static/di ... ubContext.js:150:15
新建的白鹭项目发布也是如此。求大神指点。。。

分享到 :
0 人收藏

3 个回复

倒序浏览
小灰灰啊  登堂入室 | 2020-9-21 14:22:35
我新建项目没有出现这个错误
app小王子  社区管理员 | 2020-9-21 15:57:57
我这边没有复现出来,是否可以提供复现demo ?
hanfei  初学乍练 | 2020-10-14 17:18:26
小灰灰啊 发表于 2020-9-21 14:22
我新建项目没有出现这个错误

非常感谢。已自行解决了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

hanfei

初学乍练

积分: 2 帖子: 2 精华: 0

楼主热帖

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

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

返回顶部