[ https://issues.apache.org/jira/browse/CB-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj resolved CB-3432. --------------------------- Resolution: Not A Problem Not applicable anymore with grunt workflow. > Cordova-js doesn't build with node v10 > -------------------------------------- > > Key: CB-3432 > URL: https://issues.apache.org/jira/browse/CB-3432 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaJS > Environment: Mountain Lion > Reporter: Steve Gill > Assignee: Filip Maj > > 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) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira