impossible to install node modules (such as node-red-node-mysql
pi@raspberrypi:~ $ node -v
v12.13.0
pi@raspberrypi:~ $ uname -m
armv7l
pi@raspberrypi:~ $ npm install node-red-node-mysql
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/node-red-node-mysql failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-11-12T04_20_32_685Z-debug.log
pi@raspberrypi:~ $ npm install node-red-node-mysql
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/node-red-node-mysql failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-11-12T04_21_38_297Z-debug.log
Try from the terminal as you did before, but from the .node-red folder. It may be that it is confused by the earlier failure so remove it first then install it again.