pashog commented on issue #65: Cordova requirements crash with "Cannot read property 'forEach' of undefined" URL: https://github.com/apache/cordova-browser/issues/65#issuecomment-574511610 > @janpio tried from master and it prints: > > ``` > Cannot read property 'version' of undefined > TypeError: Cannot read property 'version' of undefined > at /usr/local/lib/node_modules/cordova/src/cli.js:391:83 > at Array.forEach (<anonymous>) > at /usr/local/lib/node_modules/cordova/src/cli.js:388:39 > at Array.map (<anonymous>) > at /usr/local/lib/node_modules/cordova/src/cli.js:375:68 > at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:854:54) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:883:30 > at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:13) > at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:624:44 > at runSingle (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:137:13) > ``` > > But it looks like master is behind `8.1.2` (older than npm repository one) Have the same error with 9.0.0 ([email protected]). In my case, an error appeared after removing all the platforms and adding an old [email protected]
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
