2.4.3构建发布到微信小程序报错


assets/main/index.js:
TypeError: Cannot read property ‘Buffer’ of undefined
at Object. (index.js:801)
at Object. (index.js:806)
at e (index.js:449)
at Object. (index.js:767)
at Object. (index.js:790)
at e (index.js:449)
at Object. (index.js:700)
at e (index.js:449)
at Object. (index.js:465)
at e (index.js:449)
TypeError: Cannot read property ‘Buffer’ of undefined
at Object. (index.js:801)
at Object. (index.js:806)
at e (index.js:449)
at Object. (index.js:767)
at Object. (index.js:790)
at e (index.js:449)
at Object. (index.js:700)
at e (index.js:449)
at Object. (index.js:465)
at e (index.js:449)
[读取文件/文件夹警告] 可能无法读取 assets/internal/config.18db7.json 文件编译后项目内的 js/json/wxml/wxss 文件路径在真机上可能无法读取
[JS 文件编译错误] 以下文件体积超过 500KB,已跳过压缩以及 ES6 转 ES5 的处理。
cocos/cocos2d-js-min.js

我的项目里就只写了几行代码。但构建发布提示 Cannot read property ‘Buffer’ of undefined
是什么原因导致的呢?

想问一下最后解决了吗