【Egret白鹭引擎】迁移项目时遇到The "to" argument must be of type string. Received type object

【Egret白鹭引擎】迁移项目时遇到The "to" argument must be of type string. Received type object

起因:

今天在写迁移白鹭项目时遇到报错The "to" argument must be of type string. Received type object

查了很多说Node.js的版本问题也有,说Webpack配置的也有,尝试后都没有解决

!!!但是我还是凭着直觉做了一件事情!!!

解决方案:

重新编译项目 egret build -e

然后手动   egret run

完事收工!跑起来了!

 

posted @ 2021-06-17 10:58  鸿运小猫  阅读(524)  评论(0)    收藏  举报