Unable to install node-red-contrib-alexa-home-skill

Hello,

node red does not want to install this flow
I keep on receiving this error :

ERR! code EINVALIDTAGNAME
[err] npm
[err] ERR! Invalid tag name ""~"3.10.4": Tags may not have any characters that encodeURIComponent encodes.

Node-red has been updated to the last version (1.2.6) and I am running Node.js v15.1.0 My OS is ubuntu 20.04

Hope someone can help me
thank you

which version of npm are you running ? npm -v ... we have seen some weirdness with npm 7 ... We recommend Node.js 14 LTS rather than 15 at this point.

We fixed that weirdness in Node-RED 1.2.4. however, if you installed an extra module with npm 7 before you upgraded to 1.2.6 then your package file will already have been corrupted. So downgrading node isn't going to help fix that.

The fix is to edit ~/.node-red/package.json, look under the dependency section for something like "\"~\"3.10.4" and change it to "~3.10.4".

it works !
thank you so much !

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.