Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

  1. #1
    Membre régulier Avatar de dark_vidor
    Homme Profil pro
    Technicien R&D
    Inscrit en
    janvier 2005
    Messages
    287
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Technicien R&D

    Informations forums :
    Inscription : janvier 2005
    Messages : 287
    Points : 112
    Points
    112

    Par défaut Créer un package pour installer hors ligne

    Bonjour,
    J'ai cherché toute la journée et je n'ai rien trouvé de probant sur la question.
    Je cherche à créer un package tarball pour node-red-node-serialport à installer en mode hors ligne... mais je n'arrive pas à trouver la méthode pour le faire.
    Est-ce que c'est possible ?

    La subtilité c'est que les sources doivent être recompilée en fonction du processeur (un ia32 dans mon cas) : https://github.com/node-serialport/n...lport/releases

    Avez vous une solution ?
    Merci par avance

  2. #2
    Modérateur
    Avatar de Marco46
    Homme Profil pro
    Développeur informatique
    Inscrit en
    août 2005
    Messages
    3 797
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 37
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : août 2005
    Messages : 3 797
    Points : 15 095
    Points
    15 095

    Par défaut

    Pour installer un package npm sans passer par le téléchargement direct il suffit tout simplement de le télécharger à la main via un autre biais puis de le placer dans le répertoire du projet et de faire un npm install <nom-fichier>.
    "Toute personne croyant qu'une croissance exponentielle peut durer indéfiniment dans un monde fini est soit un fou, soit un économiste."
    Kenneth E. Boulding

    "Les richesses naturelles sont inépuisables, car, sans cela, nous ne les obtiendrions pas gratuitement. Ne pouvant être ni multipliées ni épuisées, elles ne sont pas l’objet des sciences économiques."
    Jean-Baptiste Say, Traité d'économie politique, 1803.

    "/home/earth is 102% full ... please delete anyone you can."
    Inconnu

  3. #3
    Membre régulier Avatar de dark_vidor
    Homme Profil pro
    Technicien R&D
    Inscrit en
    janvier 2005
    Messages
    287
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Technicien R&D

    Informations forums :
    Inscription : janvier 2005
    Messages : 287
    Points : 112
    Points
    112

    Par défaut

    Bonjour,

    Désolé de répondre si tardivement, j'ai essayé pleins de méthodes et le problème c'est que pour ce package il y a une action de re-compilation qui s'effectue à l'installation et je n'ai pas réussi à la faire en mode "hors-ligne" :

    Voici la trace complète de l'installation sur mon système sous Yocto :

    npm install -g --unsafe-perm --verbose node-red-node-serialport --build-from-source
    npm info it worked if it ends with ok
    npm verb cli [ '/usr/bin/node',
    npm verb cli '/usr/bin/npm',
    npm verb cli 'install',
    npm verb cli '-g',
    npm verb cli '--unsafe-perm',
    npm verb cli '--verbose',
    npm verb cli 'node-red-node-serialport' ]
    npm info using npm@6.3.0
    npm info using node@v6.12.3
    npm verb npm-session 92c8dc58cabee9cf
    npm http fetch GET 304 https://registry.npmjs.org/node-red-node-serialport 6603ms (from cache)
    npm timing stage:loadCurrentTree Completed in 18255ms
    npm timing stage:loadIdealTree:cloneCurrentTree Completed in 22ms
    npm timing stage:loadIdealTree:loadShrinkwrap Completed in 265ms
    npm http fetch GET 304 https://registry.npmjs.org/serialport 1603ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fbinding-mock 8054ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fbindings 8371ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialpo...er-byte-length 8438ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-cctalk 8357ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialpo...rser-delimiter 8352ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialpo...arser-readline 8588ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-ready 8530ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/debug 8600ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fstream 8718ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialport%2fparser-regex 8995ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/@serialpo...nding-abstract 1032ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/ms 1058ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/bindings 2587ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/nan 2622ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/prebuild-install 2679ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/file-uri-to-path 661ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/detect-libc 5733ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/expand-template 5754ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/github-from-package 5766ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/minimist 5776ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/mkdirp 5781ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/napi-build-utils 5798ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/node-abi 5818ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/noop-logger 5818ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/npmlog 5819ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/os-homedir 5840ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/pump 4132ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/rc 4192ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/simple-get 4233ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/tar-fs 4274ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/tunnel-agent 4307ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/which-pm-runs 4272ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/semver 886ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/are-we-there-yet 2359ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/console-control-strings 2373ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/gauge 2388ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/set-blocking 2413ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/delegates 1418ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/readable-stream 1512ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/core-util-is 4603ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/inherits 4612ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/isarray 4622ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/process-nextick-args 4633ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/safe-buffer 4645ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/string_decoder 4658ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/util-deprecate 4620ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/aproba 3508ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/has-unicode 3521ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/object-assign 3531ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/signal-exit 3548ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/string-width 3562ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/strip-ansi 3577ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/wide-align 3574ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/code-point-at 1211ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/is-fullwidth-code-point 1220ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/number-is-nan 700ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/ansi-regex 1172ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/end-of-stream 1312ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/once 1324ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/wrappy 752ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/strip-json-comments 1962ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/ini 2004ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/deep-extend 2049ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/decompress-response 2297ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/simple-concat 2314ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/mimic-response 766ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/chownr 1537ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/tar-stream 1587ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/bl 3017ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/buffer-alloc 3051ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/fs-constants 3060ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/to-buffer 3072ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/xtend 3080ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/buffer-alloc-unsafe 1679ms (from cache)
    npm http fetch GET 304 https://registry.npmjs.org/buffer-fill 1660ms (from cache)
    npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 74988ms
    npm timing stage:loadIdealTree Completed in 79659ms
    npm timing stage:generateActionsToTake Completed in 2164ms
    npm verb correctMkdir /home/root/.npm/_locks correctMkdir not in flight; initializing
    npm verb lock using /home/root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
    npm timing action:extract Completed in 24640ms
    npm timing action:finalize Completed in 8601ms
    npm timing action:refresh-package-json Completed in 18694ms
    npm info lifecycle @serialport/parser-byte-length@2.0.2~preinstall: @serialport/parser-byte-length@2.0.2
    npm info lifecycle @serialport/parser-cctalk@2.0.2~preinstall: @serialport/parser-cctalk@2.0.2
    npm info lifecycle @serialport/parser-delimiter@2.0.2~preinstall: @serialport/parser-delimiter@2.0.2
    npm info lifecycle @serialport/parser-readline@2.0.2~preinstall: @serialport/parser-readline@2.0.2
    npm info lifecycle @serialport/parser-ready@2.0.2~preinstall: @serialport/parser-ready@2.0.2
    npm info lifecycle @serialport/parser-regex@2.0.2~preinstall: @serialport/parser-regex@2.0.2
    npm info lifecycle ansi-regex@2.1.1~preinstall: ansi-regex@2.1.1
    npm info lifecycle aproba@1.2.0~preinstall: aproba@1.2.0
    npm info lifecycle buffer-alloc-unsafe@1.1.0~preinstall: buffer-alloc-unsafe@1.1.0
    npm info lifecycle buffer-fill@1.0.0~preinstall: buffer-fill@1.0.0
    npm info lifecycle buffer-alloc@1.2.0~preinstall: buffer-alloc@1.2.0
    npm info lifecycle chownr@1.1.1~preinstall: chownr@1.1.1
    npm info lifecycle code-point-at@1.1.0~preinstall: code-point-at@1.1.0
    npm info lifecycle console-control-strings@1.1.0~preinstall: console-control-strings@1.1.0
    npm info lifecycle core-util-is@1.0.2~preinstall: core-util-is@1.0.2
    npm info lifecycle deep-extend@0.6.0~preinstall: deep-extend@0.6.0
    npm info lifecycle delegates@1.0.0~preinstall: delegates@1.0.0
    npm info lifecycle detect-libc@1.0.3~preinstall: detect-libc@1.0.3
    npm info lifecycle expand-template@2.0.3~preinstall: expand-template@2.0.3
    npm info lifecycle file-uri-to-path@1.0.0~preinstall: file-uri-to-path@1.0.0
    npm info lifecycle bindings@1.4.0~preinstall: bindings@1.4.0
    npm info lifecycle fs-constants@1.0.0~preinstall: fs-constants@1.0.0
    npm info lifecycle github-from-package@0.0.0~preinstall: github-from-package@0.0.0
    npm info lifecycle has-unicode@2.0.1~preinstall: has-unicode@2.0.1
    npm info lifecycle inherits@2.0.3~preinstall: inherits@2.0.3
    npm info lifecycle ini@1.3.5~preinstall: ini@1.3.5
    npm info lifecycle isarray@1.0.0~preinstall: isarray@1.0.0
    npm info lifecycle mimic-response@1.0.1~preinstall: mimic-response@1.0.1
    npm info lifecycle decompress-response@3.3.0~preinstall: decompress-response@3.3.0
    npm info lifecycle minimist@1.2.0~preinstall: minimist@1.2.0
    npm info lifecycle minimist@0.0.8~preinstall: minimist@0.0.8
    npm info lifecycle mkdirp@0.5.1~preinstall: mkdirp@0.5.1
    npm info lifecycle ms@2.1.1~preinstall: ms@2.1.1
    npm info lifecycle debug@4.1.1~preinstall: debug@4.1.1
    npm info lifecycle @serialport/binding-abstract@2.0.4~preinstall: @serialport/binding-abstract@2.0.4
    npm info lifecycle @serialport/binding-mock@2.0.4~preinstall: @serialport/binding-mock@2.0.4
    npm info lifecycle @serialport/stream@2.0.4~preinstall: @serialport/stream@2.0.4
    npm info lifecycle nan@2.12.1~preinstall: nan@2.12.1
    npm info lifecycle napi-build-utils@1.0.1~preinstall: napi-build-utils@1.0.1
    npm info lifecycle noop-logger@0.1.1~preinstall: noop-logger@0.1.1
    npm info lifecycle number-is-nan@1.0.1~preinstall: number-is-nan@1.0.1
    npm info lifecycle is-fullwidth-code-point@1.0.0~preinstall: is-fullwidth-code-point@1.0.0
    npm info lifecycle object-assign@4.1.1~preinstall: object-assign@4.1.1
    npm info lifecycle os-homedir@1.0.2~preinstall: os-homedir@1.0.2
    npm info lifecycle process-nextick-args@2.0.0~preinstall: process-nextick-args@2.0.0
    npm info lifecycle safe-buffer@5.1.2~preinstall: safe-buffer@5.1.2
    npm info lifecycle semver@5.6.0~preinstall: semver@5.6.0
    npm info lifecycle node-abi@2.7.1~preinstall: node-abi@2.7.1
    npm info lifecycle set-blocking@2.0.0~preinstall: set-blocking@2.0.0
    npm info lifecycle signal-exit@3.0.2~preinstall: signal-exit@3.0.2
    npm info lifecycle node-red-node-serialport@0.7.0~preinstall: node-red-node-serialport@0.7.0
    npm info lifecycle serialport@7.1.4~preinstall: serialport@7.1.4
    npm info lifecycle @serialport/bindings@2.0.7~preinstall: @serialport/bindings@2.0.7
    npm info lifecycle prebuild-install@5.2.4~preinstall: prebuild-install@5.2.4
    npm info lifecycle tar-fs@1.16.3~preinstall: tar-fs@1.16.3
    npm info lifecycle tar-stream@1.6.2~preinstall: tar-stream@1.6.2
    npm info lifecycle xtend@4.0.1~preinstall: xtend@4.0.1
    npm info lifecycle pump@1.0.3~preinstall: pump@1.0.3
    npm info lifecycle simple-get@2.8.1~preinstall: simple-get@2.8.1
    npm info lifecycle pump@2.0.1~preinstall: pump@2.0.1
    npm info lifecycle end-of-stream@1.4.1~preinstall: end-of-stream@1.4.1
    npm info lifecycle once@1.4.0~preinstall: once@1.4.0
    npm info lifecycle wrappy@1.0.2~preinstall: wrappy@1.0.2
    npm info lifecycle npmlog@4.1.2~preinstall: npmlog@4.1.2
    npm info lifecycle gauge@2.7.4~preinstall: gauge@2.7.4
    npm info lifecycle wide-align@1.1.3~preinstall: wide-align@1.1.3
    npm info lifecycle which-pm-runs@1.0.0~preinstall: which-pm-runs@1.0.0
    npm info lifecycle bl@1.2.2~preinstall: bl@1.2.2
    npm info lifecycle are-we-there-yet@1.1.5~preinstall: are-we-there-yet@1.1.5
    npm info lifecycle readable-stream@2.3.6~preinstall: readable-stream@2.3.6
    npm info lifecycle util-deprecate@1.0.2~preinstall: util-deprecate@1.0.2
    npm info lifecycle tunnel-agent@0.6.0~preinstall: tunnel-agent@0.6.0
    npm info lifecycle to-buffer@1.1.1~preinstall: to-buffer@1.1.1
    npm info lifecycle rc@1.2.8~preinstall: rc@1.2.8
    npm info lifecycle strip-json-comments@2.0.1~preinstall: strip-json-comments@2.0.1
    npm info lifecycle string-width@1.0.2~preinstall: string-width@1.0.2
    npm info lifecycle strip-ansi@3.0.1~preinstall: strip-ansi@3.0.1
    npm info lifecycle string_decoder@1.1.1~preinstall: string_decoder@1.1.1
    npm info lifecycle simple-concat@1.0.0~preinstall: simple-concat@1.0.0
    npm timing action:preinstall Completed in 2237ms
    npm info linkStuff @serialport/parser-byte-length@2.0.2
    npm info linkStuff @serialport/parser-cctalk@2.0.2
    npm info linkStuff @serialport/parser-delimiter@2.0.2
    npm info linkStuff @serialport/parser-readline@2.0.2
    npm info linkStuff @serialport/parser-ready@2.0.2
    npm info linkStuff @serialport/parser-regex@2.0.2
    npm info linkStuff ansi-regex@2.1.1
    npm info linkStuff aproba@1.2.0
    npm info linkStuff buffer-alloc-unsafe@1.1.0
    npm info linkStuff buffer-fill@1.0.0
    npm info linkStuff buffer-alloc@1.2.0
    npm info linkStuff chownr@1.1.1
    npm info linkStuff code-point-at@1.1.0
    npm info linkStuff console-control-strings@1.1.0
    npm info linkStuff core-util-is@1.0.2
    npm info linkStuff deep-extend@0.6.0
    npm info linkStuff delegates@1.0.0
    npm info linkStuff detect-libc@1.0.3
    npm verb linkBins [ { 'detect-libc': './bin/detect-libc.js' },
    npm verb linkBins '/usr/lib/node_modules/node-red-node-serialport/node_modules/.bin',
    npm verb linkBins false ]
    npm info linkStuff expand-template@2.0.3
    npm info linkStuff file-uri-to-path@1.0.0
    npm info linkStuff bindings@1.4.0
    npm info linkStuff fs-constants@1.0.0
    npm info linkStuff github-from-package@0.0.0
    npm info linkStuff has-unicode@2.0.1
    npm info linkStuff inherits@2.0.3
    npm info linkStuff ini@1.3.5
    npm info linkStuff isarray@1.0.0
    npm info linkStuff mimic-response@1.0.1
    npm info linkStuff decompress-response@3.3.0
    npm info linkStuff minimist@1.2.0
    npm info linkStuff minimist@0.0.8
    npm info linkStuff mkdirp@0.5.1
    npm verb linkBins [ { mkdirp: 'bin/cmd.js' },
    npm verb linkBins '/usr/lib/node_modules/node-red-node-serialport/node_modules/.bin',
    npm verb linkBins false ]
    npm info linkStuff ms@2.1.1
    npm info linkStuff debug@4.1.1
    npm info linkStuff @serialport/binding-abstract@2.0.4
    npm info linkStuff @serialport/binding-mock@2.0.4
    npm info linkStuff @serialport/stream@2.0.4
    npm info linkStuff nan@2.12.1
    npm info linkStuff napi-build-utils@1.0.1
    npm info linkStuff noop-logger@0.1.1
    npm info linkStuff number-is-nan@1.0.1
    npm info linkStuff is-fullwidth-code-point@1.0.0
    npm info linkStuff object-assign@4.1.1
    npm info linkStuff os-homedir@1.0.2
    npm info linkStuff process-nextick-args@2.0.0
    npm info linkStuff safe-buffer@5.1.2
    npm info linkStuff semver@5.6.0
    npm verb linkBins [ { semver: './bin/semver' },
    npm verb linkBins '/usr/lib/node_modules/node-red-node-serialport/node_modules/.bin',
    npm verb linkBins false ]
    npm info linkStuff node-abi@2.7.1
    npm info linkStuff set-blocking@2.0.0
    npm info linkStuff signal-exit@3.0.2
    npm info linkStuff simple-concat@1.0.0
    npm info linkStuff string_decoder@1.1.1
    npm info linkStuff strip-ansi@3.0.1
    npm info linkStuff string-width@1.0.2
    npm info linkStuff strip-json-comments@2.0.1
    npm info linkStuff rc@1.2.8
    npm verb linkBins [ { rc: './cli.js' },
    npm verb linkBins '/usr/lib/node_modules/node-red-node-serialport/node_modules/.bin',
    npm verb linkBins false ]
    npm info linkStuff to-buffer@1.1.1
    npm info linkStuff tunnel-agent@0.6.0
    npm info linkStuff util-deprecate@1.0.2
    npm info linkStuff readable-stream@2.3.6
    npm info linkStuff are-we-there-yet@1.1.5
    npm info linkStuff bl@1.2.2
    npm info linkStuff which-pm-runs@1.0.0
    npm info linkStuff wide-align@1.1.3
    npm info linkStuff gauge@2.7.4
    npm info linkStuff npmlog@4.1.2
    npm info linkStuff wrappy@1.0.2
    npm info linkStuff once@1.4.0
    npm info linkStuff end-of-stream@1.4.1
    npm info linkStuff pump@2.0.1
    npm info linkStuff simple-get@2.8.1
    npm info linkStuff pump@1.0.3
    npm info linkStuff xtend@4.0.1
    npm info linkStuff tar-stream@1.6.2
    npm info linkStuff tar-fs@1.16.3
    npm info linkStuff prebuild-install@5.2.4
    npm verb linkBins [ { 'prebuild-install': './bin.js' },
    npm verb linkBins '/usr/lib/node_modules/node-red-node-serialport/node_modules/.bin',
    npm verb linkBins false ]
    npm info linkStuff @serialport/bindings@2.0.7
    npm info linkStuff serialport@7.1.4
    npm info linkStuff node-red-node-serialport@0.7.0
    npm timing action:build Completed in 4119ms
    npm info lifecycle @serialport/parser-byte-length@2.0.2~install: @serialport/parser-byte-length@2.0.2
    npm info lifecycle @serialport/parser-cctalk@2.0.2~install: @serialport/parser-cctalk@2.0.2
    npm info lifecycle @serialport/parser-delimiter@2.0.2~install: @serialport/parser-delimiter@2.0.2
    npm info lifecycle @serialport/parser-readline@2.0.2~install: @serialport/parser-readline@2.0.2
    npm info lifecycle @serialport/parser-ready@2.0.2~install: @serialport/parser-ready@2.0.2
    npm info lifecycle @serialport/parser-regex@2.0.2~install: @serialport/parser-regex@2.0.2
    npm info lifecycle ansi-regex@2.1.1~install: ansi-regex@2.1.1
    npm info lifecycle aproba@1.2.0~install: aproba@1.2.0
    npm info lifecycle buffer-alloc-unsafe@1.1.0~install: buffer-alloc-unsafe@1.1.0
    npm info lifecycle buffer-fill@1.0.0~install: buffer-fill@1.0.0
    npm info lifecycle buffer-alloc@1.2.0~install: buffer-alloc@1.2.0
    npm info lifecycle chownr@1.1.1~install: chownr@1.1.1
    npm info lifecycle code-point-at@1.1.0~install: code-point-at@1.1.0
    npm info lifecycle console-control-strings@1.1.0~install: console-control-strings@1.1.0
    npm info lifecycle core-util-is@1.0.2~install: core-util-is@1.0.2
    npm info lifecycle deep-extend@0.6.0~install: deep-extend@0.6.0
    npm info lifecycle delegates@1.0.0~install: delegates@1.0.0
    npm info lifecycle detect-libc@1.0.3~install: detect-libc@1.0.3
    npm info lifecycle expand-template@2.0.3~install: expand-template@2.0.3
    npm info lifecycle file-uri-to-path@1.0.0~install: file-uri-to-path@1.0.0
    npm info lifecycle bindings@1.4.0~install: bindings@1.4.0
    npm info lifecycle fs-constants@1.0.0~install: fs-constants@1.0.0
    npm info lifecycle github-from-package@0.0.0~install: github-from-package@0.0.0
    npm info lifecycle has-unicode@2.0.1~install: has-unicode@2.0.1
    npm info lifecycle inherits@2.0.3~install: inherits@2.0.3
    npm info lifecycle ini@1.3.5~install: ini@1.3.5
    npm info lifecycle isarray@1.0.0~install: isarray@1.0.0
    npm info lifecycle mimic-response@1.0.1~install: mimic-response@1.0.1
    npm info lifecycle decompress-response@3.3.0~install: decompress-response@3.3.0
    npm info lifecycle minimist@1.2.0~install: minimist@1.2.0
    npm info lifecycle minimist@0.0.8~install: minimist@0.0.8
    npm info lifecycle mkdirp@0.5.1~install: mkdirp@0.5.1
    npm info lifecycle ms@2.1.1~install: ms@2.1.1
    npm info lifecycle debug@4.1.1~install: debug@4.1.1
    npm info lifecycle @serialport/binding-abstract@2.0.4~install: @serialport/binding-abstract@2.0.4
    npm info lifecycle @serialport/binding-mock@2.0.4~install: @serialport/binding-mock@2.0.4
    npm info lifecycle @serialport/stream@2.0.4~install: @serialport/stream@2.0.4
    npm info lifecycle nan@2.12.1~install: nan@2.12.1
    npm info lifecycle napi-build-utils@1.0.1~install: napi-build-utils@1.0.1
    npm info lifecycle noop-logger@0.1.1~install: noop-logger@0.1.1
    npm info lifecycle number-is-nan@1.0.1~install: number-is-nan@1.0.1
    npm info lifecycle is-fullwidth-code-point@1.0.0~install: is-fullwidth-code-point@1.0.0
    npm info lifecycle object-assign@4.1.1~install: object-assign@4.1.1
    npm info lifecycle os-homedir@1.0.2~install: os-homedir@1.0.2
    npm info lifecycle process-nextick-args@2.0.0~install: process-nextick-args@2.0.0
    npm info lifecycle safe-buffer@5.1.2~install: safe-buffer@5.1.2
    npm info lifecycle semver@5.6.0~install: semver@5.6.0
    npm info lifecycle node-abi@2.7.1~install: node-abi@2.7.1
    npm info lifecycle set-blocking@2.0.0~install: set-blocking@2.0.0
    npm info lifecycle signal-exit@3.0.2~install: signal-exit@3.0.2
    npm info lifecycle simple-concat@1.0.0~install: simple-concat@1.0.0
    npm info lifecycle string_decoder@1.1.1~install: string_decoder@1.1.1
    npm info lifecycle strip-ansi@3.0.1~install: strip-ansi@3.0.1
    npm info lifecycle string-width@1.0.2~install: string-width@1.0.2
    npm info lifecycle strip-json-comments@2.0.1~install: strip-json-comments@2.0.1
    npm info lifecycle rc@1.2.8~install: rc@1.2.8
    npm info lifecycle to-buffer@1.1.1~install: to-buffer@1.1.1
    npm info lifecycle tunnel-agent@0.6.0~install: tunnel-agent@0.6.0
    npm info lifecycle util-deprecate@1.0.2~install: util-deprecate@1.0.2
    npm info lifecycle readable-stream@2.3.6~install: readable-stream@2.3.6
    npm info lifecycle are-we-there-yet@1.1.5~install: are-we-there-yet@1.1.5
    npm info lifecycle bl@1.2.2~install: bl@1.2.2
    npm info lifecycle which-pm-runs@1.0.0~install: which-pm-runs@1.0.0
    npm info lifecycle wide-align@1.1.3~install: wide-align@1.1.3
    npm info lifecycle gauge@2.7.4~install: gauge@2.7.4
    npm info lifecycle npmlog@4.1.2~install: npmlog@4.1.2
    npm info lifecycle wrappy@1.0.2~install: wrappy@1.0.2
    npm info lifecycle once@1.4.0~install: once@1.4.0
    npm info lifecycle end-of-stream@1.4.1~install: end-of-stream@1.4.1
    npm info lifecycle pump@2.0.1~install: pump@2.0.1
    npm info lifecycle simple-get@2.8.1~install: simple-get@2.8.1
    npm info lifecycle pump@1.0.3~install: pump@1.0.3
    npm info lifecycle xtend@4.0.1~install: xtend@4.0.1
    npm info lifecycle tar-stream@1.6.2~install: tar-stream@1.6.2
    npm info lifecycle tar-fs@1.16.3~install: tar-fs@1.16.3
    npm info lifecycle prebuild-install@5.2.4~install: prebuild-install@5.2.4
    npm info lifecycle @serialport/bindings@2.0.7~install: @serialport/bindings@2.0.7

    > @serialport/bindings@2.0.7 install /usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings
    > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

    prebuild-install info begin Prebuild-install version 5.2.4
    prebuild-install info looking for cached prebuild @ /home/root/.npm/_prebuilds/975d2d-bindings-v2.0.7-node-v48-linux-ia32.tar.gz
    prebuild-install http request GET https://github.com/node-serialport/n...ux-ia32.tar.gz
    prebuild-install WARN install certificate is not yet valid
    gyp info it worked if it ends with ok
    gyp verb cli [ '/usr/bin/node',
    gyp verb cli '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
    gyp verb cli 'rebuild' ]
    gyp info using node-gyp@3.7.0
    gyp info using node@6.12.3 | linux | ia32
    gyp verb command rebuild []
    gyp verb command clean []
    gyp verb clean removing "build" directory
    gyp verb command configure []
    gyp verb check python checking for Python executable "python2" in the PATH
    gyp verb `which` succeeded python2 /usr/bin/python2
    gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.12\n"
    gyp verb get node dir no --target version specified, falling back to host node version: 6.12.3
    gyp verb command install [ '6.12.3' ]
    gyp verb install input version string "6.12.3"
    gyp verb install installing version: 6.12.3
    gyp verb install --ensure was passed, so won't reinstall if already installed
    gyp verb install version is already installed, need to check "installVersion"
    gyp verb got "installVersion" 9
    gyp verb needs "installVersion" 9
    gyp verb install version is good
    gyp verb get node dir target node version installed: 6.12.3
    gyp verb build dir attempting to create "build" dir: /usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/build
    gyp verb build dir "build" dir needed to be created? /usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/build
    gyp verb build/config.gypi creating config file
    gyp verb build/config.gypi writing out config file: /usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/build/config.gypi
    gyp verb config.gypi checking for gypi file: /usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/config.gypi
    gyp verb common.gypi checking for gypi file: /usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/common.gypi
    gyp verb gyp gyp format was not specified; forcing "make"
    gyp info spawn /usr/bin/python2
    gyp info spawn args [ '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
    gyp info spawn args 'binding.gyp',
    gyp info spawn args '-f',
    gyp info spawn args 'make',
    gyp info spawn args '-I',
    gyp info spawn args '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/build/config.gypi',
    gyp info spawn args '-I',
    gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
    gyp info spawn args '-I',
    gyp info spawn args '/home/root/.node-gyp/6.12.3/include/node/common.gypi',
    gyp info spawn args '-Dlibrary=shared_library',
    gyp info spawn args '-Dvisibility=default',
    gyp info spawn args '-Dnode_root_dir=/home/root/.node-gyp/6.12.3',
    gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
    gyp info spawn args '-Dnode_lib_file=/home/root/.node-gyp/6.12.3/<(target_arch)/node.lib',
    gyp info spawn args '-Dmodule_root_dir=/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings',
    gyp info spawn args '-Dnode_engine=v8',
    gyp info spawn args '--depth=.',
    gyp info spawn args '--no-parallel',
    gyp info spawn args '--generator-output',
    gyp info spawn args 'build',
    gyp info spawn args '-Goutput_dir=.' ]
    gyp verb command build []
    gyp verb build type Release
    gyp verb architecture ia32
    gyp verb node dev dir /home/root/.node-gyp/6.12.3
    gyp verb `which` succeeded for `make` /usr/bin/make
    gyp info spawn make
    gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
    make: Entering directory '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/build'
    g++ '-DNODE_GYP_MODULE_NAME=bindings' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/root/.node-gyp/6.12.3/include/node -I/home/root/.node-gyp/6.12.3/src -I/home/root/.node-gyp/6.12.3/deps/openssl/config -I/home/root/.node-gyp/6.12.3/deps/openssl/openssl/include -I/home/root/.node-gyp/6.12.3/deps/uv/include -I/home/root/.node-gyp/6.12.3/deps/zlib -I/home/root/.node-gyp/6.12.3/deps/v8/include -I../../../nan -pthread -Wall -Wextra -Wno-unused-parameter -m32 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/bindings/src/serialport.o.d.raw -c -o Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp
    g++ '-DNODE_GYP_MODULE_NAME=bindings' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/root/.node-gyp/6.12.3/include/node -I/home/root/.node-gyp/6.12.3/src -I/home/root/.node-gyp/6.12.3/deps/openssl/config -I/home/root/.node-gyp/6.12.3/deps/openssl/openssl/include -I/home/root/.node-gyp/6.12.3/deps/uv/include -I/home/root/.node-gyp/6.12.3/deps/zlib -I/home/root/.node-gyp/6.12.3/deps/v8/include -I../../../nan -pthread -Wall -Wextra -Wno-unused-parameter -m32 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/bindings/src/serialport_unix.o.d.raw -c -o Release/obj.target/bindings/src/serialport_unix.o ../src/serialport_unix.cpp
    g++ '-DNODE_GYP_MODULE_NAME=bindings' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/root/.node-gyp/6.12.3/include/node -I/home/root/.node-gyp/6.12.3/src -I/home/root/.node-gyp/6.12.3/deps/openssl/config -I/home/root/.node-gyp/6.12.3/deps/openssl/openssl/include -I/home/root/.node-gyp/6.12.3/deps/uv/include -I/home/root/.node-gyp/6.12.3/deps/zlib -I/home/root/.node-gyp/6.12.3/deps/v8/include -I../../../nan -pthread -Wall -Wextra -Wno-unused-parameter -m32 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/bindings/src/poller.o.d.raw -c -o Release/obj.target/bindings/src/poller.o ../src/poller.cpp
    g++ '-DNODE_GYP_MODULE_NAME=bindings' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/root/.node-gyp/6.12.3/include/node -I/home/root/.node-gyp/6.12.3/src -I/home/root/.node-gyp/6.12.3/deps/openssl/config -I/home/root/.node-gyp/6.12.3/deps/openssl/openssl/include -I/home/root/.node-gyp/6.12.3/deps/uv/include -I/home/root/.node-gyp/6.12.3/deps/zlib -I/home/root/.node-gyp/6.12.3/deps/v8/include -I../../../nan -pthread -Wall -Wextra -Wno-unused-parameter -m32 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/bindings/src/serialport_linux.o.d.raw -c -o Release/obj.target/bindings/src/serialport_linux.o ../src/serialport_linux.cpp
    g++ -shared -pthread -rdynamic -m32 -Wl,-soname=bindings.node -o Release/obj.target/bindings.node -Wl,--start-group Release/obj.target/bindings/src/serialport.o Release/obj.target/bindings/src/serialport_unix.o Release/obj.target/bindings/src/poller.o Release/obj.target/bindings/src/serialport_linux.o -Wl,--end-group
    rm -rf "Release/bindings.node" && cp -af "Release/obj.target/bindings.node" "Release/bindings.node"
    make: Leaving directory '/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/build'
    gyp info ok
    npm verb lifecycle @serialport/bindings@2.0.7~install: unsafe-perm in lifecycle true
    npm verb lifecycle @serialport/bindings@2.0.7~install: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings/node_modules/.bin:/usr/lib/node_modules/node-red-node-serialport/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
    npm verb lifecycle @serialport/bindings@2.0.7~install: CWD: /usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings
    npm info lifecycle serialport@7.1.4~install: serialport@7.1.4
    npm info lifecycle node-red-node-serialport@0.7.0~install: node-red-node-serialport@0.7.0
    npm timing action:install Completed in 191802ms
    npm info lifecycle @serialport/parser-byte-length@2.0.2~postinstall: @serialport/parser-byte-length@2.0.2
    npm info lifecycle @serialport/parser-cctalk@2.0.2~postinstall: @serialport/parser-cctalk@2.0.2
    npm info lifecycle @serialport/parser-delimiter@2.0.2~postinstall: @serialport/parser-delimiter@2.0.2
    npm info lifecycle @serialport/parser-readline@2.0.2~postinstall: @serialport/parser-readline@2.0.2
    npm info lifecycle @serialport/parser-ready@2.0.2~postinstall: @serialport/parser-ready@2.0.2
    npm info lifecycle @serialport/parser-regex@2.0.2~postinstall: @serialport/parser-regex@2.0.2
    npm info lifecycle ansi-regex@2.1.1~postinstall: ansi-regex@2.1.1
    npm info lifecycle aproba@1.2.0~postinstall: aproba@1.2.0
    npm info lifecycle buffer-alloc-unsafe@1.1.0~postinstall: buffer-alloc-unsafe@1.1.0
    npm info lifecycle buffer-fill@1.0.0~postinstall: buffer-fill@1.0.0
    npm info lifecycle buffer-alloc@1.2.0~postinstall: buffer-alloc@1.2.0
    npm info lifecycle chownr@1.1.1~postinstall: chownr@1.1.1
    npm info lifecycle code-point-at@1.1.0~postinstall: code-point-at@1.1.0
    npm info lifecycle console-control-strings@1.1.0~postinstall: console-control-strings@1.1.0
    npm info lifecycle core-util-is@1.0.2~postinstall: core-util-is@1.0.2
    npm info lifecycle deep-extend@0.6.0~postinstall: deep-extend@0.6.0
    npm info lifecycle delegates@1.0.0~postinstall: delegates@1.0.0
    npm info lifecycle detect-libc@1.0.3~postinstall: detect-libc@1.0.3
    npm info lifecycle expand-template@2.0.3~postinstall: expand-template@2.0.3
    npm info lifecycle file-uri-to-path@1.0.0~postinstall: file-uri-to-path@1.0.0
    npm info lifecycle bindings@1.4.0~postinstall: bindings@1.4.0
    npm info lifecycle fs-constants@1.0.0~postinstall: fs-constants@1.0.0
    npm info lifecycle github-from-package@0.0.0~postinstall: github-from-package@0.0.0
    npm info lifecycle has-unicode@2.0.1~postinstall: has-unicode@2.0.1
    npm info lifecycle inherits@2.0.3~postinstall: inherits@2.0.3
    npm info lifecycle ini@1.3.5~postinstall: ini@1.3.5
    npm info lifecycle isarray@1.0.0~postinstall: isarray@1.0.0
    npm info lifecycle mimic-response@1.0.1~postinstall: mimic-response@1.0.1
    npm info lifecycle decompress-response@3.3.0~postinstall: decompress-response@3.3.0
    npm info lifecycle minimist@1.2.0~postinstall: minimist@1.2.0
    npm info lifecycle minimist@0.0.8~postinstall: minimist@0.0.8
    npm info lifecycle mkdirp@0.5.1~postinstall: mkdirp@0.5.1
    npm info lifecycle ms@2.1.1~postinstall: ms@2.1.1
    npm info lifecycle debug@4.1.1~postinstall: debug@4.1.1
    npm info lifecycle @serialport/binding-abstract@2.0.4~postinstall: @serialport/binding-abstract@2.0.4
    npm info lifecycle @serialport/binding-mock@2.0.4~postinstall: @serialport/binding-mock@2.0.4
    npm info lifecycle @serialport/stream@2.0.4~postinstall: @serialport/stream@2.0.4
    npm info lifecycle nan@2.12.1~postinstall: nan@2.12.1
    npm info lifecycle napi-build-utils@1.0.1~postinstall: napi-build-utils@1.0.1
    npm info lifecycle noop-logger@0.1.1~postinstall: noop-logger@0.1.1
    npm info lifecycle number-is-nan@1.0.1~postinstall: number-is-nan@1.0.1
    npm info lifecycle is-fullwidth-code-point@1.0.0~postinstall: is-fullwidth-code-point@1.0.0
    npm info lifecycle object-assign@4.1.1~postinstall: object-assign@4.1.1
    npm info lifecycle os-homedir@1.0.2~postinstall: os-homedir@1.0.2
    npm info lifecycle process-nextick-args@2.0.0~postinstall: process-nextick-args@2.0.0
    npm info lifecycle safe-buffer@5.1.2~postinstall: safe-buffer@5.1.2
    npm info lifecycle semver@5.6.0~postinstall: semver@5.6.0
    npm info lifecycle node-abi@2.7.1~postinstall: node-abi@2.7.1
    npm info lifecycle set-blocking@2.0.0~postinstall: set-blocking@2.0.0
    npm info lifecycle signal-exit@3.0.2~postinstall: signal-exit@3.0.2
    npm info lifecycle simple-concat@1.0.0~postinstall: simple-concat@1.0.0
    npm info lifecycle string_decoder@1.1.1~postinstall: string_decoder@1.1.1
    npm info lifecycle strip-ansi@3.0.1~postinstall: strip-ansi@3.0.1
    npm info lifecycle string-width@1.0.2~postinstall: string-width@1.0.2
    npm info lifecycle strip-json-comments@2.0.1~postinstall: strip-json-comments@2.0.1
    npm info lifecycle rc@1.2.8~postinstall: rc@1.2.8
    npm info lifecycle to-buffer@1.1.1~postinstall: to-buffer@1.1.1
    npm info lifecycle tunnel-agent@0.6.0~postinstall: tunnel-agent@0.6.0
    npm info lifecycle util-deprecate@1.0.2~postinstall: util-deprecate@1.0.2
    npm info lifecycle readable-stream@2.3.6~postinstall: readable-stream@2.3.6
    npm info lifecycle are-we-there-yet@1.1.5~postinstall: are-we-there-yet@1.1.5
    npm info lifecycle bl@1.2.2~postinstall: bl@1.2.2
    npm info lifecycle which-pm-runs@1.0.0~postinstall: which-pm-runs@1.0.0
    npm info lifecycle wide-align@1.1.3~postinstall: wide-align@1.1.3
    npm info lifecycle gauge@2.7.4~postinstall: gauge@2.7.4
    npm info lifecycle npmlog@4.1.2~postinstall: npmlog@4.1.2
    npm info lifecycle wrappy@1.0.2~postinstall: wrappy@1.0.2
    npm info lifecycle once@1.4.0~postinstall: once@1.4.0
    npm info lifecycle end-of-stream@1.4.1~postinstall: end-of-stream@1.4.1
    npm info lifecycle pump@2.0.1~postinstall: pump@2.0.1
    npm info lifecycle simple-get@2.8.1~postinstall: simple-get@2.8.1
    npm info lifecycle pump@1.0.3~postinstall: pump@1.0.3
    npm info lifecycle xtend@4.0.1~postinstall: xtend@4.0.1
    npm info lifecycle tar-stream@1.6.2~postinstall: tar-stream@1.6.2
    npm info lifecycle tar-fs@1.16.3~postinstall: tar-fs@1.16.3
    npm info lifecycle prebuild-install@5.2.4~postinstall: prebuild-install@5.2.4
    npm info lifecycle @serialport/bindings@2.0.7~postinstall: @serialport/bindings@2.0.7
    npm info lifecycle serialport@7.1.4~postinstall: serialport@7.1.4
    npm info lifecycle node-red-node-serialport@0.7.0~postinstall: node-red-node-serialport@0.7.0
    npm timing action:postinstall Completed in 4999ms
    npm verb unlock done using /home/root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
    npm timing stage:executeActions Completed in 261943ms
    npm timing stage:rollbackFailedOptional Completed in 74ms
    npm timing stage:runTopLevelLifecycles Completed in 363217ms
    + node-red-node-serialport@0.7.0
    added 79 packages from 46 contributors in 363.541s
    npm verb exit [ 0, true ]
    npm timing npm Completed in 384506ms
    npm info ok

  4. #4
    Modérateur
    Avatar de Marco46
    Homme Profil pro
    Développeur informatique
    Inscrit en
    août 2005
    Messages
    3 797
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 37
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : août 2005
    Messages : 3 797
    Points : 15 095
    Points
    15 095

    Par défaut

    Effectivement il va chercher un tarball sur github.

    A moins de mettre un proxy entre npm et le réseau et de rediriger sur un serveur web en local qui héberge la dites tarball je vois pas bien comment tu vas pouvoir faire.

    Et pareil pour les dépendances du paquet à installer.

    Ma réponse était un peu rapide, ça marche très bien sur un paquet qui n'a pas de dépendance mais comme les paquets npm n'embarquent pas leurs dépendances si t'as une seule dépendance à ton paquet c'est mort tu peux plus l'installer manuellement en local (sauf si tu installes en local à la main ce paquet aussi).

    Pour npm tu as verdaccio pour faire tampon avec le réseau. Mais je ne sais pas s'il peut gérer aussi les calls vers github.
    "Toute personne croyant qu'une croissance exponentielle peut durer indéfiniment dans un monde fini est soit un fou, soit un économiste."
    Kenneth E. Boulding

    "Les richesses naturelles sont inépuisables, car, sans cela, nous ne les obtiendrions pas gratuitement. Ne pouvant être ni multipliées ni épuisées, elles ne sont pas l’objet des sciences économiques."
    Jean-Baptiste Say, Traité d'économie politique, 1803.

    "/home/earth is 102% full ... please delete anyone you can."
    Inconnu

  5. #5
    Membre régulier Avatar de dark_vidor
    Homme Profil pro
    Technicien R&D
    Inscrit en
    janvier 2005
    Messages
    287
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Technicien R&D

    Informations forums :
    Inscription : janvier 2005
    Messages : 287
    Points : 112
    Points
    112

    Par défaut

    Mon plus gros "problème" c'est de pouvoir relancer la compilation.
    Je me suis rendu compte que je devais si celle ci ne se passe pas bien, supprimer le répertoire dans "node_modules" et relancer tout le processus d'installation.

Discussions similaires

  1. VS2015 Comment récuperer aide pour install hors ligne
    Par lucky dans le forum Visual Studio
    Réponses: 2
    Dernier message: 24/05/2018, 14h18
  2. Réponses: 2
    Dernier message: 26/06/2009, 21h59
  3. Créer un .exe pour utilisation en ligne de commande
    Par Antoun dans le forum VB 6 et antérieur
    Réponses: 7
    Dernier message: 26/01/2007, 14h19
  4. Réponses: 1
    Dernier message: 05/10/2006, 10h56
  5. [VB6]créer un package d'installation, package de déploiement
    Par mcay dans le forum Installation, Déploiement et Sécurité
    Réponses: 2
    Dernier message: 13/12/2005, 15h55

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo