<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="transparent" text="#000000">
    <p>Si j'ai demandé si tu étais sur Ubuntu c'est que nodejs s'appelle
      node sur Debian mais nodejs sur Ubuntu, comme dit hier, essaye :</p>
    <pre wrap=""><b>if ! [ -e /usr/bin/node ] : then
   sudo ln -s `which nodejs`
fi</b></pre>
    Je ne sais quelle est la bonne installation, je sais juste que la
    mienne marche ;-)<br>
    Disclaimer : pour Lyrk/Imposm, pas testé pour Kosmtik, mais ça ne
    devrait rien changer.<br>
    <br>
    Oui je me suis inspiré de notes sur la toile, effectivement de <a
      moz-do-not-send="true"
href="https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions">https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions</a>
    ?
    <div><br>
    </div>
    <br>
    Jean-Yvon<br>
    <br>
    <div class="moz-cite-prefix">Le 09/01/2017 à 21:45, Maël REBOUX -
      <a class="moz-txt-link-abbreviated" href="mailto:mael.reboux@breizhpositive.bzh">mael.reboux@breizhpositive.bzh</a> a écrit :<br>
    </div>
    <blockquote
      cite="mid:401C11C6-1C3E-408E-824D-14654928217C@breizhpositive.bzh"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div>Bonsoir</div>
      <div><br>
      </div>
      <div>J’ai ouvert une issue dédiée : <a moz-do-not-send="true"
          href="https://github.com/kosmtik/kosmtik/issues/212">https://github.com/kosmtik/kosmtik/issues/212</a></div>
      <div><br>
      </div>
      <div>Qui a été vite fermée car effectivement il y avait 2 versions
        de Node.js qui cohabitaient sur mon Ubuntu 16.04</div>
      <div>Mais j’ai continué à écrire dedans car j’ai tout nettoyé et
        (je pense) refais une clean install… sans succès.</div>
      <div><br>
      </div>
      <div>Je crois que l’erreur suivante est :</div>
      <div>
        <pre>/usr/bin/env: ‘node’: No such file or directory
/usr/local/lib
└── (empty)</pre>
        <div>Node.js serait-il mal installé ?</div>
      </div>
      <div>La seule bonne façon serait celle décrite ici : <a
          moz-do-not-send="true"
href="https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions">https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions</a>
        ?</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <blockquote type="cite"><span style="color: rgb(127, 127, 127);"><b>De:
          </b></span><a moz-do-not-send="true"
          href="mailto:osm.sanspourriel@spamgourmet.com">osm.sanspourriel@spamgourmet.com</a><br>
      </blockquote>
      <div>
        <blockquote type="cite">
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px;"><span
              style="font-family:'Helvetica'; color:rgba(127, 127, 127,
              1.0);"><b>Objet: </b></span><span
              style="font-family:'Helvetica';"><b>Rép : [OSM-talk-fr] Pb
                installation Kosmtik</b><br>
            </span></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px;"><span
              style="font-family:'Helvetica'; color:rgba(127, 127, 127,
              1.0);"><b>Date: </b></span><span
              style="font-family:'Helvetica';">8 janvier 2017 20:40:52
              UTC+1<br>
            </span></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px;"><span
              style="font-family:'Helvetica'; color:rgba(127, 127, 127,
              1.0);"><b>À: </b></span><span
              style="font-family:'Helvetica';"><a moz-do-not-send="true"
                href="mailto:talk-fr@openstreetmap.org">talk-fr@openstreetmap.org</a><br>
            </span></div>
          <div style="margin-top: 0px; margin-right: 0px; margin-bottom:
            0px; margin-left: 0px;"><span
              style="font-family:'Helvetica'; color:rgba(127, 127, 127,
              1.0);"><b>Répondre à: </b></span><span
              style="font-family:'Helvetica';">Discussions sur OSM en
              français <<a moz-do-not-send="true"
                href="mailto:talk-fr@openstreetmap.org">talk-fr@openstreetmap.org</a>><br>
            </span></div>
          <br>
          Visiblement si tu la version 4, tu n'as pas la dernière
          version.<br>
          <div bgcolor="transparent" text="#000000">
            <p>> Soit je m’y prend très mal, soit il y a des non-dits
              dans la documentation ;)<br>
              L'un n'exclut pas l'autre :-D.</p>
            <p>N'hésite pas à ajouter un -y (--yes) pour ne pas avoir à
              répondre.</p>
            <p>Je pense que tu as oublié de mettre à jour ton système :</p>
            <p class="MsoNormal">#ou 7<span style="font-size: 10pt;
                font-family: Arial, sans-serif;" lang="EN-US"><br>
                <b>NODEJS_VERSION=6</b><b><o:p></o:p></b></span></p>
            <b> </b><b><span style="font-size: 10pt; font-family:
                Arial, sans-serif;" lang="EN-US">#see <a
                  moz-do-not-send="true" class="moz-txt-link-freetext"
                  href="https://github.com/nodesource/distributions">https://github.com/nodesource/distributions</a><br>
                #ne pas hésiter à regarder le contenu avec n'exécuter !<o:p></o:p></span></b><b><br>
            </b><b> </b><b><span style="font-size: 10pt; font-family:
                Arial, sans-serif;" lang="EN-US">curl -sL <a
                  moz-do-not-send="true" class="moz-txt-link-freetext"
                  href="https://deb.nodesource.com/setup_$">https://deb.nodesource.com/setup_$</a>{NODEJS_VERSION}.x
                | sudo bash -<o:p></o:p></span></b><span
              style="font-size: 10pt; font-family: Arial, sans-serif;"
              lang="EN-US"><b><br>
              </b><b> sudo apt-get install --yes nodejs</b><o:p></o:p></span><span
              style="font-size: 10pt; font-family: Arial, sans-serif;"
              lang="EN-US"></span>
            <p>Les avertissements sur @mapbox namespace sont normaux
              (ils n'ont pas publié tous les paquets qui vont bien).<br>
            </p>
            <pre wrap="">> <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:mapnik@3.5.14">mapnik@3.5.14</a> install /usr/local/lib/node_modules/kosmtik/node_modules/mapnik
node-pre-gyp install --fallback-to-build
</pre>
            <p>Là encore erreur normale ;-)</p>
            <pre wrap="">> /usr/bin/env: ‘node’: No such file or directory
if ! [ -e /usr/bin/node ] : then
   sudo ln -s `which nodejs`
fi
</pre>
            Alors on est sur Ubuntu et pas Debian ? Oui <a
              moz-do-not-send="true" href="http://deb.nodesource.com">deb.nodesource.com</a>
            marche pour Debian, Ubuntu et OSX.<br>
            <br>
            Bonne mise à jour de la documentation et des scripts
            d'installation.<br>
            Bonne erreurs suivantes !<br>
            <br>
            Jean-Yvon<br>
            <br>
            <br>
            <div class="moz-cite-prefix">Le 08/01/2017 à 17:44, Maël
              REBOUX - <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:mael.reboux@breizhpositive.bzh">mael.reboux@breizhpositive.bzh</a>
              a écrit :<br>
            </div>
            <blockquote
              cite="mid:E7A70CE3-6799-44B3-BBC0-FEE425262E42@breizhpositive.bzh"
              type="cite">
              <pre wrap="">Bonjour,

On m’a vanté les mérites de Komstik <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/kosmtik/kosmtik/">https://github.com/kosmtik/kosmtik/</a> 

Mais impossible de l’installer.
Soit je m’y prend très mal, soit il y a des non-dits dans la documentation ;)
Il y a bien une alerte dans la doc demandant à avoir la dernière version de Node.js mais je pense que les commandes suivantes font le job, non ?

cdt,
Maël
</pre>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Talk-fr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Talk-fr@openstreetmap.org">Talk-fr@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/talk-fr">https://lists.openstreetmap.org/listinfo/talk-fr</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>