Cordova Slack Digest

Sun, 01 May 2022 08:21:30 GMT

User count: 4688

Join the conversation at slack.cordova.io

Channel #general (4 messages)


Sat, 30 Apr 2022 11:00:52 GMT

@ucheozoemena says

Turns out my problem was caused by using node16. Using node 12 the installation works as expected, and on node 14 it gets past that error though fails elsewhere (still debugging). What's the correct place to report this?

Sun, 01 May 2022 00:29:21 GMT

@norman137 says

depends on what is failing. If in doubt you can probably report it under the cordova repo and someone will move it to the proper repo. Or if you can gather more information you can always ask here.

My best advice though is after updating to Node 16, is to reinstall cordova. There was a bug with Node 16 (more specifically a bug with NPM 7+, which gets shipped with Node 16) which has been corrected but if you have an older install, you might not have the patch.

Sun, 01 May 2022 00:30:41 GMT

@norman137 says

And since this seems to be an issue during fetch/install time which is handled pretty much exclusively by NPM, if you‘re having issues on Node 16, I’d test to see if the issue occurs after downgrading NPM back to version 6.x on Node 16 (npm install -g npm@6)

Sun, 01 May 2022 00:31:22 GMT

@norman137 says

It‘s strange though, I’ve been using Node 16 with Cordova for months now and haven't had any kind of those issues.