Error in any cordova plugin


#1

I do not know what I do, any plugin Cordova using ngCordova presents the same error !

Following the example $cordovaNetwork

Console was cleared ripple.js:37
Ripple :: Environment Warming Up (Tea. Earl Gray. Hot.) ripple.js:37
GET http://192.168.0.102:8100/config.xml 404 (Not Found) ripple.js:50
cordova :: Initialization Finished (Make it so.) ripple.js:37
GET http://192.168.0.102:8100/cordova.js 404 (Not Found) (index):21
TypeError: Cannot read property ‘type’ of undefined
at Object.getNetwork (http://192.168.0.102:8100/lib/ngCordova/dist/ng-cordova.js:1139:34)
at new (http://192.168.0.102:8100/js/app.js:9:30)
at invoke (http://192.168.0.102:8100/lib/ionic/js/ionic.bundle.js:12930:17)
at Object.instantiate (http://192.168.0.102:8100/lib/ionic/js/ionic.bundle.js:12941:23)
at http://192.168.0.102:8100/lib/ionic/js/ionic.bundle.js:16195:28
at http://192.168.0.102:8100/lib/ionic/js/ionic.bundle.js:15597:34
at forEach (http://192.168.0.102:8100/lib/ionic/js/ionic.bundle.js:9358:20)
at nodeLinkFn (http://192.168.0.102:8100/lib/ionic/js/ionic.bundle.js:15584:11)
at compositeLinkFn (http://192.168.0.102:8100/lib/ionic/js/ionic.bundle.js:15042:15)
at publicLinkFn (http://192.168.0.102:8100/lib/ionic/js/ionic.bundle.js:14947:30) ionic.bundle.js:18930
cordova :: fired deviceready event!

I’m using for testing ripple

Please, help


#2

Cordova.js does not exist in ripple. It is injected by Phone Gap when you package an app.


#3

how do I test the development ?

Thanks for help !


#4

when i run the xcode project:

2014-08-01 20:35:39.988 testeApp[1628:907] Multi-tasking -> Device: YES, App: YES
2014-08-01 20:35:40.189 testeApp[1628:907] Unlimited access to network resources
2014-08-01 20:35:41.117 testeApp[1628:907] [CDVTimer][keyboard] 0.092030ms
2014-08-01 20:35:41.118 testeApp[1628:907] CDVPlugin class CDVStatusBar (pluginName: statusbar) does not exist.
2014-08-01 20:35:41.118 testeApp[1628:907] [CDVTimer][statusbar] 0.559032ms
2014-08-01 20:35:41.119 testeApp[1628:907] [CDVTimer][TotalPluginStartup] 1.749992ms
2014-08-01 20:35:41.586 testeApp[1628:907] Resetting plugins due to page load.
2014-08-01 20:35:45.805 testeApp[1628:907] Finished load of: file:///Users/guilhermeferreira/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/CB09CEBC-7882-4780-9083-44EB69A1AC1D/testeApp.app/www/index.html


#5

i tried all, but nothing works.
will be the macosx?
I have tried to reinstall, but nothing.
help me please.