详细问题描述
真机运行出现如下错误,在page.json中随机删掉一些页面的引入就恢复正常。在page.json的引入页面的长度也有限制的吗?
HbuilderX已更新到最新版本1.9.9.20190522;是不是HbuilderX编译打包有问题, 看到也有其他人出现该问题,但也没有答案,麻烦官方看下该bug,联系QQ:1308551468
各种手机和电脑都测试过,都会出现这个问题。
10:59:02.304 internal/child_process.js:323
10:59:02.305 throw errnoException(err, 'spawn');
10:59:02.311 ^
10:59:02.311 Error: spawn ENAMETOOLONG
10:59:02.317 at _errnoException (util.js:1022:11)
10:59:02.317 at ChildProcess.spawn (internal/child_process.js:323:11)
10:59:02.322 at Object.exports.spawn (child_process.js:502:9)
10:59:02.323 at generateWxml (D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\lib\index.js:1:7701)
10:59:02.329 at generateServiceJs (D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\lib\index.js:1:10219)
10:59:02.330 at D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\lib\index.js:1:14729
10:59:02.336 at D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\node_modules\async\dist\async.js:3866:24
10:59:02.338 at eachOfArrayLike (D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\node_modules\async\dist\async.js:1055:9)
10:59:02.344 at eachOf (D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\node_modules\async\dist\async.js:1103:5)
10:59:02.344 at _parallel (D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\node_modules\async\dist\async.js:3865:5)
10:59:02.351 at Object.parallelLimit [as parallel] (D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\node_modules\async\dist\async.js:3948:5)
10:59:02.352 at D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\lib\index.js:1:14924
10:59:02.359 at ChildProcess.a.on.e (D:\ruanjian\HBuilderX.1.9.9.20190522.full\HBuilderX\plugins\weapp-tools\lib\index.js:1:3949)
10:59:02.366 at emitTwo (events.js:126:13)
10:59:02.366 at ChildProcess.emit (events.js:214:7)
10:59:02.372 at maybeClose (internal/child_process.js:925:16)
1***@qq.com (作者)
目前是167左右个页面,就不能运行了。还没在Mac系统测试,还去拿到苹果电脑试下。
2019-05-27 15:44
1***@qq.com (作者)
已确定在widown超过一定长度就会编译出错,在mac系统没问题。希望官方及时修复改bug,谢谢!
2019-05-27 17:38