Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-3432

Cordova-js doesn't build with node v10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • cordova-js
    • None
    • Mountain Lion

    Description

      I upgraded to node v10 and when I run jake, I error out. Works fine if I switch back to node v8

      error eval()ing /Users/stevengill/Documents/repo/cordova/cordova-js/pkg/cordova.test.js: TypeError: Property 'setTimeout' of object object is not a function
      TypeError: Property 'setTimeout' of object object is not a function
      at eval (eval at <anonymous> (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:18), <anonymous>:17746:12)
      at eval (eval at <anonymous> (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:18), <anonymous>:17804:2)
      at eval (eval at <anonymous> (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:18), <anonymous>:17820:3)
      at module.exports.node [as action] (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:13)
      at TaskBase.run (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:219:21)
      at TaskBase.handlePrereqComplete (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:204:12)
      at TaskBase.nextPrereq (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:170:14)
      at TaskBase.runPrereqs (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:115:12)
      at TaskBase.invoke (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:98:10)
      at TaskBase.nextPrereq (/Users/stevengill/.nvm/v0.10.6/lib/node_modules/jake/lib/task/task.js:175:23)
      jake aborted.
      TypeError: Property 'setTimeout' of object object is not a function
      at eval (eval at <anonymous> (/Users/stevengill/Documents/repo/cordova/cordova-js/test/runner.js:72:18), <anonymous>:17746:12)

      Attachments

        Activity

          People

            filmaj Filip Maj
            stevegill Steve Gill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: