Failed to load bundle(http://loaclhost:8081/index.bundle.....

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

Failed to load bundle(http://loaclhost:8081/index.bundle....._第1张图片
2F23D6B219C9B39FB80E630971042B11.jpg

查看错误提示让看看终端详情
Failed to load bundle(http://loaclhost:8081/index.bundle....._第2张图片
F82B9AF06556B8EF78D81A913F37330D.jpg

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

你可能感兴趣的:(Failed to load bundle(http://loaclhost:8081/index.bundle.....)