Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspbuntu:~$ curl -sL https://deb.nodesource.com/setup_8.x > nodesetup.sh
- pi@raspbuntu:~$ sudo bash nodesetup.sh
- ## Installing the NodeSource Node.js 8.x LTS Carbon repo...
- ## Populating apt-get cache...
- + apt-get update
- Trovato:1 https://deb.nodesource.com/node_8.x xenial InRelease
- Trovato:2 http://it.archive.ubuntu.com/ubuntu xenial InRelease
- Trovato:4 http://it.archive.ubuntu.com/ubuntu xenial-updates InRelease
- Trovato:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
- Trovato:6 http://it.archive.ubuntu.com/ubuntu xenial-backports InRelease
- Lettura elenco dei pacchetti... Fatto
- ## Confirming "xenial" is supported...
- + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_8.x/dists/xenial/Release'
- ## Adding the NodeSource signing key to your keyring...
- + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
- OK
- ## Creating apt sources list file for the NodeSource Node.js 8.x LTS Carbon repo...
- + echo 'deb https://deb.nodesource.com/node_8.x xenial main' > /etc/apt/sources.list.d/nodesource.list
- + echo 'deb-src https://deb.nodesource.com/node_8.x xenial main' >> /etc/apt/sources.list.d/nodesource.list
- ## Running `apt-get update` for you...
- + apt-get update
- Trovato:1 https://deb.nodesource.com/node_8.x xenial InRelease
- Trovato:2 http://it.archive.ubuntu.com/ubuntu xenial InRelease
- Trovato:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
- Trovato:4 http://it.archive.ubuntu.com/ubuntu xenial-updates InRelease
- Trovato:6 http://it.archive.ubuntu.com/ubuntu xenial-backports InRelease
- Lettura elenco dei pacchetti... Fatto
- ## Run `sudo apt-get install -y nodejs` to install Node.js 8.x LTS Carbon and npm
- ## You may also need development tools to build native addons:
- sudo apt-get install gcc g++ make
- ## To install the Yarn package manager, run:
- curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update && sudo apt-get install yarn
- pi@raspbuntu:~$ sudo apt-get install -y nodejs
- Lettura elenco dei pacchetti... Fatto
- Generazione albero delle dipendenze
- Lettura informazioni sullo stato... Fatto
- I seguenti pacchetti saranno aggiornati:
- nodejs
- 1 aggiornati, 0 installati, 0 da rimuovere e 253 non aggiornati.
- È necessario scaricare 13,7 MB di archivi.
- Dopo quest'operazione, verranno occupati 17,1 MB di spazio su disco.
- Scaricamento di:1 https://deb.nodesource.com/node_8.x xenial/main amd64 nodejs amd64 8.11.4-1nodesource1 [13,7 MB]
- Recuperati 13,7 MB in 5min 34s (40,8 kB/s)
- (Lettura del database... 113124 file e directory attualmente installati.)
- Preparativi per estrarre .../nodejs_8.11.4-1nodesource1_amd64.deb...
- Detected old npm client, removing...
- Estrazione di nodejs (8.11.4-1nodesource1) su (6.11.2-1nodesource1~xenial1)...
- Elaborazione dei trigger per man-db (2.7.5-1)...
- Configurazione di nodejs (8.11.4-1nodesource1)...
- pi@raspbuntu:~$ sudo npm install -g npm node-gyp node-pre-gyp
- /usr/bin/node-gyp -> /usr/lib/node_modules/node-gyp/bin/node-gyp.js
- /usr/bin/node-pre-gyp -> /usr/lib/node_modules/node-pre-gyp/bin/node-pre-gyp
- /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
- /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
- + node-gyp@3.8.0
- + node-pre-gyp@0.11.0
- + npm@6.4.0
- added 372 packages, removed 295 packages, updated 41 packages and moved 68 packages in 279.31s
- pi@raspbuntu:~$ npm -v
- 6.4.0
- pi@raspbuntu:~$ sudo npm install -g --unsafe-perm node-red
- npm WARN deprecated mailparser@0.6.2: Mailparser versions older than v2.3.0 are deprecated
- npm WARN deprecated nodemailer@1.11.0: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
- npm WARN deprecated mimelib@0.3.1: This project is unmaintained
- npm WARN deprecated mailcomposer@2.1.0: This project is unmaintained
- npm WARN deprecated buildmail@2.0.0: This project is unmaintained
- /usr/bin/node-red -> /usr/lib/node_modules/node-red/red.js
- /usr/bin/node-red-pi -> /usr/lib/node_modules/node-red/bin/node-red-pi
- > bcrypt@2.0.1 install /usr/lib/node_modules/node-red/node_modules/bcrypt
- > node-pre-gyp install --fallback-to-build
- node-pre-gyp ERR! Completion callback never invoked!
- node-pre-gyp ERR! System Linux 4.4.0-93-generic
- node-pre-gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-red/node_modules/bcrypt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
- node-pre-gyp ERR! cwd /usr/lib/node_modules/node-red/node_modules/bcrypt
- node-pre-gyp ERR! node -v v8.11.4
- node-pre-gyp ERR! node-pre-gyp -v v0.9.1
- node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
- node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
- node-pre-gyp ERR! <https://github.com/mapbox/node-pre-gyp/issues>
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@2.0.1 (node_modules/node-red/node_modules/bcrypt):
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bcrypt@2.0.1 install: `node-pre-gyp install --fallback-to-build`
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 6
- + node-red@0.19.1
- added 306 packages from 317 contributors in 296.093s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement