Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CordovaError: Using "requireCordovaModule" to load non-cordova module #1156

Open
ferrvri opened this issue Nov 30, 2020 · 2 comments
Open

CordovaError: Using "requireCordovaModule" to load non-cordova module #1156

ferrvri opened this issue Nov 30, 2020 · 2 comments

Comments

@ferrvri
Copy link

ferrvri commented Nov 30, 2020

Hi!

i'm facing this problem write on title.
A way to solve is change importation

require('xcode'), instead of cordova context

Thanks!!

var xcode = context.requireCordovaModule("xcode");

@gtl-parth
Copy link

gtl-parth commented Jun 28, 2021

Hi!

i'm facing this problem write on title.
A way to solve is change importation

require('xcode'), instead of cordova context

Thanks!!

var xcode = context.requireCordovaModule("xcode");

I am facing same issue. I am trying to change "var xcode = context.requireCordovaModule("xcode"); " in helper.js file in 2 place but still getting same error

Can you please look it? and help.

Thanks in advance..

@robertarnesson

@Cl0v1s
Copy link

Cl0v1s commented Oct 4, 2022

Same issue here. When using MeteorJS instead of directly cordova with this plugin.

The solution provided by @ferrvri fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants