becvert / cordova-plugin-zeroconf

Cordova ZeroConf Plugin
MIT License
81 stars 57 forks source link

cordova-build error #25

Closed Matheus-Garbelini closed 7 years ago

Matheus-Garbelini commented 7 years ago

Hello, i'm trying to compile your plugin with cordova in visual studio and I'm getting this error:

 Executing "after_prepare"  hook for all plugins.
1>  Resolving module name for cordova-lib/src/cordova/platform_metadata => ../cordova/platform_metadata
1>  Resolving module name for glob => glob
1>MSBUILD : cordova-build error : TypeError: undefined is not a function

I can't find this error. Do you knowwhat could it be? I'm using the last version of cordova i think

becvert commented 7 years ago

No idea. Without the plugin it compiles fine?

Matheus-Garbelini commented 7 years ago

Yes, I'm using Cordova 6.1.1

becvert commented 7 years ago

Are you trying to build for the Windows platform? This is a Android and iOS plugin only.

Matheus-Garbelini commented 7 years ago

No, I,m trying to build to Android only

Matheus-Garbelini commented 7 years ago

I will zip the project and post it to you

becvert commented 7 years ago

OK. But I sense that it's an issue with MSBUILD (i.e. Visual Studio?) I'm not using it so I'll let you figure this out I think as I have no issue with Android Studio and XCode. Please when you solve your problem, tell us. Thanks

amirmatin commented 7 years ago

Hi, I have the same issue with cordova cli --v 6.1.1. tried upgrading cli to different versions (5.3.3 and 6.2.0) but have the same issue..

thanks