Turris omnia Node-Red LXC


#1

Zdravím.
Nedaří se zprovoznit Node_Red na Turris Omnia.
Mám kontejner LXC s Ubuntu Xenial a postupuji podle tutoriálu:

  1. Terminál @LXC_NAME - OK
  2. Upgrade all packages: -OK
  3. Install Mosquitto server and clients: - OK
  4. Install Node.js version 6 (required by Node-RED): - OK
  5. Install Node-RED:

milan@LXC_NAME:~$ sudo npm install -g --unsafe-perm node-red
npm ERR! fetch failed https://registry.npmjs.org/node-red-node-email/-/node-red-node-email-0.1.24.tgz
npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! fetch failed https://registry.npmjs.org/mqtt/-/mqtt-2.15.1.tgz
npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm WARN optional Skipping failed optional dependency /node-red/bcrypt:
npm WARN network getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! Linux 4.4.113-1e4a549d177ab3da12b2052fba6a4dd5-1
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “install” “-g” “–unsafe-perm” "node-red"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo

npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network ‘proxy’ config is set properly. See: ‘npm help config’

npm ERR! Please include the following file with any support request:
npm ERR! /home/milan/npm-debug.log
milan@LXC_NAME:~$

Děkuji za radu Milan


#2

Zdravím, nejedná se o stejný problém, který se probírá v druhém threadu den zpátky? :slight_smile:


Pokud ano, odpovídejte prosím do něj.


#3

Jedná, včera se pokoušel syn nainstalovat na kontejner s Debian neúspěšně.
Mě se nedaří ani s Ubuntu.


#4

To skoro vypadá, jako kdyby ten kontejner neměl přístup na internet. Případně problém s DNS.