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

cordovaVersion undefined #1

Open
TristanPct opened this issue Mar 8, 2018 · 0 comments
Open

cordovaVersion undefined #1

TristanPct opened this issue Mar 8, 2018 · 0 comments

Comments

@TristanPct
Copy link

Hello,

I'm having a problem, it seems that the cordova version is not set correctly.
In the logs after compressing I have:
Building on 192.168.1.143:3000 against Cordova version undefined

Changing index.js lines 81 - 83 from:

options.cordovaVersion = cordovaVersion;

gutil.log(`Building on ${ colors.magenta(options.hostname) }:${ colors.magenta(options.port) } against Cordova version ${ colors.green(cordovaVersion) }`);

to:

options.cordovaVersion = cordovaVersion || options.cordovaVersion;

gutil.log(`Building on ${ colors.magenta(options.hostname) }:${ colors.magenta(options.port) } against Cordova version ${ colors.green(options.cordovaVersion) }`);

fixed the problem for me, I get the correct cordova version.

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

1 participant