添加cordova平台浏览器时出错,“加载cordova浏览器时出错” [英] Error adding cordova platform browser, "Error loading cordova-browser"

查看:1573
本文介绍了添加cordova平台浏览器时出错,“加载cordova浏览器时出错”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其他平台工作正常...但我有一个问题,让浏览器平台工作。

Other platforms are working fine... but I'm having an issue getting browser platform to work at all.

如果我运行cordova平台添加浏览器,它创建dir,复制所有的文件,事情大多看起来像它的工作正常,除非控制台输出错误加载cordova浏览器。

If I run cordova platform add browser it creates the dir, copies all the files, and things mostly looks like it works right except the console outputs "Error loading cordova-browser".

如果我然后运行准备或任何我在黄色中收到相同的错误

If I then run prepare or anything I get the same error in yellow


加载cordova浏览器时出错

Error loading cordova-browser

如果我运行cordova要求...同样的事情,说错误加载cordova浏览器

If I run cordova requirements... same thing, says Error loading cordova-browser

我在Node v6.2.0和Cordova v6 .4.0

I'm on Node v6.2.0 and Cordova v6.4.0

- update
如果我在平台中继续删除和添加东西似乎工作,ts transpiled和一切更新和移动正确,我可以从www文件夹运行,一切正常。如果我只是运行准备或构建,但平台/浏览器中的文件不会更新。

--update If I keep removing and adding in the platform things seem to work, ts transpiled and everything updated and moved correctly, and I can run from the www folder and everything serves up right. If I just run prepare or build though, the files in platform/browser do not get updated.

推荐答案

这只是一个误导错误消息,没有什么是真正的失败和浏览器平台工作很好。
问题是报告固定,但尚未发布。

That is just a misleading error message, nothing is really failing and browser platform works just fine. The issue was reported and fixed, but not released yet.

这篇关于添加cordova平台浏览器时出错,“加载cordova浏览器时出错”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆