Return-Path: X-Original-To: distix@pieni.net Delivered-To: distix@pieni.net Received: from yaffle.pepperfish.net (yaffle.pepperfish.net [88.99.213.221]) by pieni.net (Postfix) with ESMTPS id 5638840372 for ; Tue, 25 Sep 2018 17:11:41 +0000 (UTC) Received: from platypus.pepperfish.net (unknown [10.112.101.20]) by yaffle.pepperfish.net (Postfix) with ESMTP id 16B3A41585 for ; Tue, 25 Sep 2018 18:11:41 +0100 (BST) Received: from ip6-localhost.nat ([::1] helo=platypus.pepperfish.net) by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) id 1g4qs9-0003ok-0c; Tue, 25 Sep 2018 18:11:41 +0100 Received: from [10.112.101.103] (helo=mx3.pepperfish.net) by platypus.pepperfish.net with esmtps (Exim 4.80 #2 (Debian)) id 1g4qs8-0003oT-15 for ; Tue, 25 Sep 2018 18:11:40 +0100 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by mx3.pepperfish.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1g4qs4-0003iA-V9 for ick-discuss@ick.liw.fi; Tue, 25 Sep 2018 18:11:39 +0100 X-Originating-IP: 91.155.198.5 Received: from greywolf (91-155-198-5.elisa-laajakaista.fi [91.155.198.5]) (Authenticated sender: ivan@dolgov.fi) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 28198240007 for ; Tue, 25 Sep 2018 17:11:29 +0000 (UTC) Message-ID: <67260cc32c707b79f669928156e391d9d5e0f6c8.camel@dolgov.fi> From: Ivan Dolgov To: ick-discuss@ick.liw.fi Date: Tue, 25 Sep 2018 20:11:29 +0300 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.0 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Pepperfish-Transaction: f288-204f-c322-267e X-Spam-Score: -3.1 X-Spam-Score-int: -30 X-Spam-Bar: --- X-Scanned-By: pepperfish.net, Tue, 25 Sep 2018 18:11:39 +0100 X-Spam-Report: Content analysis details: (-3.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [217.70.183.193 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.5 PPF_USER_AGENT User-Agent: exists 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-ACL-Warn: message may be spam X-Scan-Signature: b517e40c42efa162324c1c57390347c8 Subject: Npm/node.js installation X-BeenThere: ick-discuss@ick.liw.fi X-Mailman-Version: 2.1.5 Precedence: list List-Id: discussions about the ick CI system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ick-discuss-bounces@ick.liw.fi Errors-To: ick-discuss-bounces@ick.liw.fi Here's how I've installed a recent enough version of npm on Stretch machines. Looks like Buster comes with Node.js v8, but I'm not sure if its npm is usable, I've used 9 or 10 for a long time now. If using upstream APT repo is not an opiton, I can spend some time testing the older version of npm. In the ansible playbook I use sane_debian_system role to add the node.js repo: sources_lists: - repo: "deb https://deb.nodesource.com/node_10.x stretch main" signing_key: "{{ nodesource_signing_key }}" The signing key is here: https://deb.nodesource.com/gpgkey/nodesource.gpg.key Then I just install build-essential and nodejs packages. After that running `make install` in ickui repo will install dependencies locally into ickui/node_packages dir and `make build` will create a static bundle in ickui/dist. Ivan _______________________________________________ ick-discuss mailing list ick-discuss@ick.liw.fi https://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/ick-discuss-ick.liw.fi