Code Monkey home page Code Monkey logo

Comments (6)

blakgeek avatar blakgeek commented on August 19, 2024

Which version of node are you using?

On Fri, Aug 5, 2016 at 9:16 AM, Jordi Giménez Gámez <
[email protected]> wrote:

It looks like this error happens when using an old version of nodejs. It
took me quite some time to realize what was going wrong, maybe you can
throw a meaningful error or refuse to install on old node.js versions (I
know little node, so I don't know exactly how you would implement this).

Error: TypeError: undefined is not a function
at /Users/xxx/plugins/cordova-plugin-cocoapod-support/scripts/podify.js:182:21
at /Users/xxx/plugins/cordova-plugin-cocoapod-support/node_modules/command-exists/lib/command-exists.js:11:13
at ChildProcess.exithandler (child_process.js:635:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket. (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)

My suspicion is that child_process


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#4,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyU3gEesWHWOJlKKKyleeOYe7oky57Tks5qczfCgaJpZM4Jdq82
.

Want to waste some time or challenge your mental skills? Check out my
games on www.bggamecentral.com or download them from the App Stores
https://itunes.apple.com/us/artist/henry-lawton/id895605107
[image:
https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1]
https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1
Get it on Google
https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png

from cordova-plugin-cocoapods-support.

jgimenez avatar jgimenez commented on August 19, 2024

I was using v0.10.23 when I got the problem.

from cordova-plugin-cocoapods-support.

jgimenez avatar jgimenez commented on August 19, 2024

Wow, that was fast!! 👍

from cordova-plugin-cocoapods-support.

blakgeek avatar blakgeek commented on August 19, 2024

I removed the use of execSync which is only available in node v0.11.12 or later. Version 1.2.6 of the plugin or later should work for you. Let me know if you still have issues.

from cordova-plugin-cocoapods-support.

blakgeek avatar blakgeek commented on August 19, 2024

Don't use that version.

from cordova-plugin-cocoapods-support.

blakgeek avatar blakgeek commented on August 19, 2024

There was a bug in 1.2.6 that prevented the ios project from building and produced no output. Please use version 1.2.8 or later.

from cordova-plugin-cocoapods-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.