cordova_plugins.json과 관련된 cordova.js의 오류를 해결하려고합니다. 나는 Google에서 발견 된 수정은 빈 JSON 파일이 충분 언급, 그래서 내부에 간단한 메시지와 함께 내 일반적인 폴더에 cordova_plugins.json을 추가 : 404 오류가이 파일을 추가하여 해결되었습니다IBM Worklight 6.0 - 누락 된 cordova_plugins.json 오류를 해결하는 방법?
{
"msg" : "this is a dummy file that might need updating later"
}
,하지만 난 크롬 dev에 콘솔에서 새로운 오류가 발생했습니다 :
6355: // Called when:
6356: // * There are plugins defined and all plugins are finished loading.
6357: // * There are no plugins to load.
6358: function finishPluginLoading() {
6359: context.cordova.require('cordova/channel').onPluginsReady.fire();
6360: }
이 오류 온라인에 대한 해결책 정도의 삭제를 요구한다 : 여기
Uncaught TypeError: Object #<Object> has no method 'require' cordova.js:6359
및 cordova.js의 코드 블록이다 이 cordova.js 파일에 코드가 있습니다. buildlight 할 때 cordova.js가 재 작성/덮어 쓰기되기 때문에 작업 라이트에서는 불가능합니다.