chrilyng commented on issue #543: URL: https://github.com/apache/cordova-cli/issues/543#issuecomment-733848594
> The problem is this commit from a dependency of cordova-cli: [sebhildebrandt/systeminformation@44da17c](https://github.com/sebhildebrandt/systeminformation/commit/44da17c851810eff45aab7c29f407569abda0b91) > > It sets an `Object.freeze(Object.prototype)` which makes yet another dependency (cordova-cli -> cordova-common -> q) fail here: https://github.com/kriskowal/q/blob/6bc7f524eb104aca8bffde95f180b5210eb8dd4b/q.js#L576 > > because `Object.prototype.valueOf` cannot be overridden anymore when the former dependency got sourced. Not sure how to fix this mess ad-hoc Well spotted, thanks! Without being well-versed in npm my workaround until it's fixed is installing an older version of this dependency: > npm i [email protected] and installing cordova locally as well to run just to get stuff running locally again. > ./node_modules/cordova/bin/cordova platform add ... ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
