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

Error: undefined is not a function #22

Closed
metalaureate opened this issue Nov 7, 2016 · 3 comments
Closed

Error: undefined is not a function #22

metalaureate opened this issue Nov 7, 2016 · 3 comments

Comments

@metalaureate
Copy link

metalaureate commented Nov 7, 2016

Encountered this error when trying to us terikon/cordova-plugin-photo-library#4, and isolate it to this plugin.

The error prevents iOS or Android from building projects.

cordova plugin add cordova-plugin-add-swift-support --save
Fetching plugin "cordova-plugin-add-swift-support" via npm
Installing "cordova-plugin-add-swift-support" for android
Installing "cordova-plugin-add-swift-support" for ios
Saved plugin info for "cordova-plugin-add-swift-support" to config.xml
Error: undefined is not a function

Cordova CLI: 6.1.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v0.12.2
Xcode version: Xcode 8.0 Build version 8A218a

Appreciate any help... lost in dependency land here.

@akofman
Copy link
Owner

akofman commented Nov 7, 2016

Hello,

I think you need to upgrade your node version. I will update the README to inform about the minimal version compatibility.

@metalaureate
Copy link
Author

That fixed it thanks.

@DesarrolloES
Copy link

What is the minimal version compatibility for node?

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