虚拟机报:Failed to load bundle(http://loaclhost:8081/index.bundle?platfrom=ios.....,

查看错误提示让看看终端详情

然后懵逼了,不知道啥原因,在谷歌上找了很久,大众说法是node版本过高要降低到8,说实话要降低版本的话会麻烦,根据node下载的东西都会重新下载,还有说法是重启,多run几次。
不说太多废话了,我这问题是因为手贱在package.json和package-lock.json里面加了注释“//”,去掉注释就没问题了。
网友评论