Ionic2-Tabs Starter - Plugin 'Device' not found, or is not a CDVPlugin


#1

Hi all,

I am using the Tabs Starter Template without any modifications. I get the error

ERROR: Plugin ‘Device’ not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

ERROR: Plugin ‘StatusBar’ not found, or is not a CDVPlugin. Check your plugin mapping in config.xml

I am using

  • Cordova 6.3.1
  • Node.Js 4.4.3
  • NPM 2.15.0

I already tried to remove the plugins and add them again.
The .m files are also included in the build phases in XCode.

I already made an app which worked fine with many plugins. But someday I received the plugin errors (and I dont know what I made…). Since this day I receive also the plugin errors at the basic templates.

Hope you can help me, thanks!

Edit: I am using Visual Studio 2017 and build the project by remotebuild. I just tried to manually copy my project to my mac, setup ionic and build it directly on my mac. There it´s working fine… I tried to reinstall ionic / cordova / NodeJs at my windows environment, but no success