Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install step of make deps fails on Ubuntu 18 #570

Closed
peterzahemszky opened this issue Oct 26, 2021 · 2 comments
Closed

npm install step of make deps fails on Ubuntu 18 #570

peterzahemszky opened this issue Oct 26, 2021 · 2 comments
Assignees

Comments

@peterzahemszky
Copy link
Contributor

When following the documentation in README.rst, the make deps command fails at the npm install step on a fresh installation of Ubuntu 18.04.

npm install
npm ERR! Linux 5.4.0-89-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror     at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror     at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror     at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror     at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror     at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/peter/Repositories/simphony-remote/npm-debug.log
Makefile:110: recipe for target 'npmdeps' failed
make[3]: *** [npmdeps] Error 1
make[3]: Leaving directory '/home/peter/Repositories/simphony-remote'
Makefile:44: recipe for target 'osdeps' failed
make[2]: *** [osdeps] Error 2
make[2]: Leaving directory '/home/peter/Repositories/simphony-remote'
Makefile:57: recipe for target 'ubuntudeps' failed
make[1]: *** [ubuntudeps] Error 2
make[1]: Leaving directory '/home/peter/Repositories/simphony-remote'
Makefile:26: recipe for target 'deps' failed
make: *** [deps] Error 2

System information
npm 3.5.2
node 8.10.0
Ubuntu 18.04.6 LTS (64-bit)

Relevant lines of code:

simphony-remote/Makefile

Lines 108 to 116 in fc5f0ae

npmdeps:
if [[ `command -v npm` == '' ]]; then \
sudo $(PKG_MNGR) install -y node-gyp libssl1.0-dev; \
sudo $(PKG_MNGR) install -y npm; \
fi
npm install
npm --version

$ make deps
Installing dependencies
---------------------------
if [ `uname -s` != "Linux" ]; then \
	echo "ERROR: Cannot run on non-Linux systems"; \
	false; \
fi
if [ -f "/etc/lsb-release" ]; then \
	make ubuntudeps; \
elif [ -f "/etc/centos-release" ]; then \
	make centosdeps; \
else \
	echo "ERROR: Installation requires either Ubuntu or CentOS systems"; \
	false; \
fi
make[1]: Entering directory '/home/peter/Repositories/simphony-remote'
# Install Ubuntu Dependencies
sudo apt-get install -qq -y gnupg-agent apt-transport-https software-properties-common
Selecting previously unselected package apt-transport-https.
(Reading database ... 159463 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.14_all.deb ...
Unpacking apt-transport-https (1.6.14) ...
Selecting previously unselected package gnupg-agent.
Preparing to unpack .../gnupg-agent_2.2.4-1ubuntu1.4_all.deb ...
Unpacking gnupg-agent (2.2.4-1ubuntu1.4) ...
Setting up apt-transport-https (1.6.14) ...
Setting up gnupg-agent (2.2.4-1ubuntu1.4) ...
# Install generic OS dependencies
make osdeps PKG_MNGR=apt-get OS=deb
make[2]: Entering directory '/home/peter/Repositories/simphony-remote'
# Install OS Dependencies
sudo apt-get update -y
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]          
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                  
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                     
Fetched 252 kB in 1s (460 kB/s)                                
Reading package lists... Done
sudo apt-get install -y curl ca-certificates nginx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version (20210119~18.04.2).
ca-certificates set to manually installed.
The following additional packages will be installed:
  libcurl4 libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream nginx-common nginx-core
Suggested packages:
  fcgiwrap nginx-doc
The following NEW packages will be installed
  curl libcurl4 libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream nginx nginx-common nginx-core
0 to upgrade, 10 to newly install, 0 to remove and 0 not to upgrade.
Need to get 975 kB of archives.
After this operation, 3,172 kB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.16 [220 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.16 [159 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 nginx-common all 1.14.0-0ubuntu1.9 [37.2 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnginx-mod-http-geoip amd64 1.14.0-0ubuntu1.9 [11.0 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnginx-mod-http-image-filter amd64 1.14.0-0ubuntu1.9 [14.3 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnginx-mod-http-xslt-filter amd64 1.14.0-0ubuntu1.9 [12.7 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnginx-mod-mail amd64 1.14.0-0ubuntu1.9 [41.6 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnginx-mod-stream amd64 1.14.0-0ubuntu1.9 [63.5 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 nginx-core amd64 1.14.0-0ubuntu1.9 [413 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 nginx all 1.14.0-0ubuntu1.9 [3,596 B]
Fetched 975 kB in 0s (4,717 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libcurl4:amd64.
(Reading database ... 159471 files and directories currently installed.)
Preparing to unpack .../0-libcurl4_7.58.0-2ubuntu3.16_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.16) ...
Selecting previously unselected package curl.
Preparing to unpack .../1-curl_7.58.0-2ubuntu3.16_amd64.deb ...
Unpacking curl (7.58.0-2ubuntu3.16) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../2-nginx-common_1.14.0-0ubuntu1.9_all.deb ...
Unpacking nginx-common (1.14.0-0ubuntu1.9) ...
Selecting previously unselected package libnginx-mod-http-geoip.
Preparing to unpack .../3-libnginx-mod-http-geoip_1.14.0-0ubuntu1.9_amd64.deb ...
Unpacking libnginx-mod-http-geoip (1.14.0-0ubuntu1.9) ...
Selecting previously unselected package libnginx-mod-http-image-filter.
Preparing to unpack .../4-libnginx-mod-http-image-filter_1.14.0-0ubuntu1.9_amd64.deb ...
Unpacking libnginx-mod-http-image-filter (1.14.0-0ubuntu1.9) ...
Selecting previously unselected package libnginx-mod-http-xslt-filter.
Preparing to unpack .../5-libnginx-mod-http-xslt-filter_1.14.0-0ubuntu1.9_amd64.deb ...
Unpacking libnginx-mod-http-xslt-filter (1.14.0-0ubuntu1.9) ...
Selecting previously unselected package libnginx-mod-mail.
Preparing to unpack .../6-libnginx-mod-mail_1.14.0-0ubuntu1.9_amd64.deb ...
Unpacking libnginx-mod-mail (1.14.0-0ubuntu1.9) ...
Selecting previously unselected package libnginx-mod-stream.
Preparing to unpack .../7-libnginx-mod-stream_1.14.0-0ubuntu1.9_amd64.deb ...
Unpacking libnginx-mod-stream (1.14.0-0ubuntu1.9) ...
Selecting previously unselected package nginx-core.
Preparing to unpack .../8-nginx-core_1.14.0-0ubuntu1.9_amd64.deb ...
Unpacking nginx-core (1.14.0-0ubuntu1.9) ...
Selecting previously unselected package nginx.
Preparing to unpack .../9-nginx_1.14.0-0ubuntu1.9_all.deb ...
Unpacking nginx (1.14.0-0ubuntu1.9) ...
Setting up nginx-common (1.14.0-0ubuntu1.9) ...
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service → /lib/systemd/system/nginx.service.
Setting up libnginx-mod-http-image-filter (1.14.0-0ubuntu1.9) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3.16) ...
Setting up libnginx-mod-mail (1.14.0-0ubuntu1.9) ...
Setting up libnginx-mod-http-xslt-filter (1.14.0-0ubuntu1.9) ...
Setting up libnginx-mod-http-geoip (1.14.0-0ubuntu1.9) ...
Setting up libnginx-mod-stream (1.14.0-0ubuntu1.9) ...
Setting up curl (7.58.0-2ubuntu3.16) ...
Setting up nginx-core (1.14.0-0ubuntu1.9) ...
Setting up nginx (1.14.0-0ubuntu1.9) ...
Processing triggers for systemd (237-3ubuntu10.52) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
# Download and install NodeJS
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

================================================================================
================================================================================

                              DEPRECATION WARNING                            

  Node.js 6.x LTS Boron is no longer actively supported!

  You will not receive security or critical stability updates for this version.

  You should migrate to a supported version of Node.js as soon as possible.
  Use the installation script that corresponds to the version of Node.js you
  wish to install. e.g.

   * https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium"
   * https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium" (recommended)
   * https://deb.nodesource.com/setup_16.x — Node.js 16 "Gallium"

  Please see https://github.com/nodejs/Release for details about which
  version may be appropriate for you.

  The NodeSource Node.js distributions repository contains
  information both about supported versions of Node.js and supported Linux
  distributions. To learn more about usage, see the repository:
    https://github.com/nodesource/distributions

================================================================================
================================================================================

Continuing in 20 seconds ...


## Installing the NodeSource Node.js 6.x LTS Boron repo...


## Populating apt-get cache...

+ apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                         
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                   
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                          
Fetched 252 kB in 1s (346 kB/s)                                
Reading package lists... Done

## Confirming "bionic" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_6.x/dists/bionic/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
gpg: WARNING: unsafe ownership on homedir '/home/peter/.gnupg'

## Creating apt sources list file for the NodeSource Node.js 6.x LTS Boron repo...

+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_6.x bionic main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_6.x bionic main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Hit:1 http://gb.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                           
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                                            
Get:4 https://deb.nodesource.com/node_6.x bionic InRelease [4,622 B]                                                                            
Get:5 http://gb.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                         
Get:6 https://deb.nodesource.com/node_6.x bionic/main amd64 Packages [765 B]                                           
Get:7 https://deb.nodesource.com/node_6.x bionic/main i386 Packages [764 B]
Fetched 258 kB in 2s (141 kB/s)
Reading package lists... Done

## Run `sudo apt-get install -y nodejs` to install Node.js 6.x LTS Boron 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 | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
     echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] 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


sudo apt-get install -y nodejs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libc-ares2 libhttp-parser2.7.1 libuv1 nodejs-doc
The following NEW packages will be installed
  libc-ares2 libhttp-parser2.7.1 libuv1 nodejs nodejs-doc
0 to upgrade, 5 to newly install, 0 to remove and 0 not to upgrade.
Need to get 5,670 kB of archives.
After this operation, 24.8 MB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libuv1 amd64 1.18.0-3 [64.4 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 nodejs-doc all 8.10.0~dfsg-2ubuntu0.4 [752 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc-ares2 amd64 1.14.0-1ubuntu0.1 [37.5 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-parser2.7.1 amd64 2.7.1-2 [20.6 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 nodejs amd64 8.10.0~dfsg-2ubuntu0.4 [4,796 kB]
Fetched 5,670 kB in 4s (1,606 kB/s) 
Selecting previously unselected package libuv1:amd64.
(Reading database ... 159567 files and directories currently installed.)
Preparing to unpack .../libuv1_1.18.0-3_amd64.deb ...
Unpacking libuv1:amd64 (1.18.0-3) ...
Selecting previously unselected package nodejs-doc.
Preparing to unpack .../nodejs-doc_8.10.0~dfsg-2ubuntu0.4_all.deb ...
Unpacking nodejs-doc (8.10.0~dfsg-2ubuntu0.4) ...
Selecting previously unselected package libc-ares2:amd64.
Preparing to unpack .../libc-ares2_1.14.0-1ubuntu0.1_amd64.deb ...
Unpacking libc-ares2:amd64 (1.14.0-1ubuntu0.1) ...
Selecting previously unselected package libhttp-parser2.7.1:amd64.
Preparing to unpack .../libhttp-parser2.7.1_2.7.1-2_amd64.deb ...
Unpacking libhttp-parser2.7.1:amd64 (2.7.1-2) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_8.10.0~dfsg-2ubuntu0.4_amd64.deb ...
Unpacking nodejs (8.10.0~dfsg-2ubuntu0.4) ...
Setting up nodejs-doc (8.10.0~dfsg-2ubuntu0.4) ...
Setting up libhttp-parser2.7.1:amd64 (2.7.1-2) ...
Setting up libuv1:amd64 (1.18.0-3) ...
Setting up libc-ares2:amd64 (1.14.0-1ubuntu0.1) ...
Setting up nodejs (8.10.0~dfsg-2ubuntu0.4) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
# Install NPM if missing
make npmdeps PKG_MNGR=apt-get
make[3]: Entering directory '/home/peter/Repositories/simphony-remote'
if [[ `command -v npm` == '' ]]; then \
	sudo apt-get install -y node-gyp libssl1.0-dev; \
	sudo apt-get install -y npm; \
fi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gyp javascript-common libjs-async libjs-inherits libjs-node-uuid libpython-stdlib libuv1-dev node-abbrev node-ansi node-async node-balanced-match node-block-stream
  node-brace-expansion node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-glob
  node-graceful-fs node-inflight node-inherits node-isexe node-json-stringify-safe node-mime node-minimatch node-mkdirp node-node-uuid node-nopt node-npmlog node-once node-osenv
  node-path-is-absolute node-qs node-request node-rimraf node-semver node-tar node-tunnel-agent node-which node-wrappy nodejs-dev python python-minimal python-pkg-resources
  python2.7 python2.7-minimal
Suggested packages:
  node-hawk node-aws-sign node-oauth-sign node-http-signature debhelper python-doc python-tk python-setuptools python2.7-doc binfmt-support
The following NEW packages will be installed
  gyp javascript-common libjs-async libjs-inherits libjs-node-uuid libpython-stdlib libssl1.0-dev libuv1-dev node-abbrev node-ansi node-async node-balanced-match
  node-block-stream node-brace-expansion node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream
  node-glob node-graceful-fs node-gyp node-inflight node-inherits node-isexe node-json-stringify-safe node-mime node-minimatch node-mkdirp node-node-uuid node-nopt node-npmlog
  node-once node-osenv node-path-is-absolute node-qs node-request node-rimraf node-semver node-tar node-tunnel-agent node-which node-wrappy nodejs-dev python python-minimal
  python-pkg-resources python2.7 python2.7-minimal
0 to upgrade, 52 to newly install, 0 to remove and 0 not to upgrade.
Need to get 4,248 kB of archives.
After this operation, 17.5 MB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.17-1~18.04ubuntu1.6 [1,291 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 python-minimal amd64 2.7.15~rc1-1 [28.1 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7 amd64 2.7.17-1~18.04ubuntu1.6 [248 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libpython-stdlib amd64 2.7.15~rc1-1 [7,620 B]
Get:5 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 python amd64 2.7.15~rc1-1 [140 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 gyp all 0.1+20150913git1f374df9-1ubuntu1 [265 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 javascript-common all 11 [6,066 B]
Get:9 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 libjs-async all 0.8.0-3 [25.4 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 libjs-node-uuid all 1.4.7-5 [11.5 kB]
Get:11 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0-dev amd64 1.0.2n-1ubuntu5.7 [1,366 kB]
Get:12 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libuv1-dev amd64 1.18.0-3 [82.0 kB]
Get:13 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-async all 0.8.0-3 [2,840 B]
Get:14 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-fs.realpath all 1.0.0-1 [5,572 B]
Get:15 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-wrappy all 1.0.2-1 [3,162 B]
Get:16 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-once all 1.4.0-2ubuntu1 [3,588 B]
Get:17 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-inflight all 1.0.6-1 [3,382 B]
Get:18 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-isexe all 2.0.0-3 [4,376 B]
Get:19 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-node-uuid all 1.4.7-5 [2,844 B]
Get:20 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-path-is-absolute all 1.0.0-1 [3,310 B]
Get:21 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 libjs-inherits all 2.0.3-1 [2,792 B]
Get:22 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-abbrev all 1.0.9-1 [3,708 B]
Get:23 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-ansi all 0.3.0-2ubuntu1 [8,720 B]
Get:24 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-balanced-match all 0.4.2-1 [4,030 B]
Get:25 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-inherits all 2.0.3-1 [3,092 B]
Get:26 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-block-stream all 0.0.9-1ubuntu1 [4,736 B]
Get:27 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-concat-map all 0.0.1-1 [3,502 B]
Get:28 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-brace-expansion all 1.1.8-1 [5,840 B]
Get:29 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-delayed-stream all 0.0.5-1 [4,750 B]
Get:30 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-combined-stream all 0.0.5-1 [4,958 B]
Get:31 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-cookie-jar all 0.3.1-1 [3,746 B]
Get:32 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-forever-agent all 0.5.1-1 [3,194 B]
Get:33 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-mime all 1.3.4-1 [11.9 kB]
Get:34 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-form-data all 0.1.0-1 [6,412 B]
Get:35 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-minimatch all 3.0.4-3 [13.5 kB]
Get:36 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-glob all 7.1.2-4 [17.7 kB]
Get:37 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-rimraf all 2.6.2-1 [8,152 B]
Get:38 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-mkdirp all 0.5.1-1 [4,848 B]
Get:39 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-graceful-fs all 4.1.11-1 [10.8 kB]
Get:40 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 node-fstream all 1.0.10-1ubuntu0.18.04.1 [18.4 kB]
Get:41 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 nodejs-dev amd64 8.10.0~dfsg-2ubuntu0.4 [351 kB]
Get:42 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-nopt all 3.0.6-3 [9,572 B]
Get:43 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-npmlog all 0.0.4-1 [5,844 B]
Get:44 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-osenv all 0.1.4-1 [4,212 B]
Get:45 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-tunnel-agent all 0.3.1-1 [4,018 B]
Get:46 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-json-stringify-safe all 5.0.0-1 [3,544 B]
Get:47 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-qs all 2.2.4-1ubuntu1 [7,680 B]
Get:48 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-request all 2.26.1-1 [14.5 kB]
Get:49 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-semver all 5.4.1-1 [22.6 kB]
Get:50 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-tar all 2.2.1-1 [17.7 kB]
Get:51 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-which all 1.3.0-1 [4,504 B]
Get:52 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-gyp all 3.6.2-1ubuntu1 [29.4 kB]
Fetched 4,248 kB in 2s (1,807 kB/s)
Extract templates from packages: 100%
Selecting previously unselected package python2.7-minimal.
(Reading database ... 159708 files and directories currently installed.)
Preparing to unpack .../python2.7-minimal_2.7.17-1~18.04ubuntu1.6_amd64.deb ...
Unpacking python2.7-minimal (2.7.17-1~18.04ubuntu1.6) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.15~rc1-1_amd64.deb ...
Unpacking python-minimal (2.7.15~rc1-1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.17-1~18.04ubuntu1.6_amd64.deb ...
Unpacking python2.7 (2.7.17-1~18.04ubuntu1.6) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.15~rc1-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.15~rc1-1) ...
Setting up python2.7-minimal (2.7.17-1~18.04ubuntu1.6) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.15~rc1-1) ...
Selecting previously unselected package python.
(Reading database ... 159765 files and directories currently installed.)
Preparing to unpack .../00-python_2.7.15~rc1-1_amd64.deb ...
Unpacking python (2.7.15~rc1-1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../01-python-pkg-resources_39.0.1-2_all.deb ...
Unpacking python-pkg-resources (39.0.1-2) ...
Selecting previously unselected package gyp.
Preparing to unpack .../02-gyp_0.1+20150913git1f374df9-1ubuntu1_all.deb ...
Unpacking gyp (0.1+20150913git1f374df9-1ubuntu1) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../03-javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package libjs-async.
Preparing to unpack .../04-libjs-async_0.8.0-3_all.deb ...
Unpacking libjs-async (0.8.0-3) ...
Selecting previously unselected package libjs-node-uuid.
Preparing to unpack .../05-libjs-node-uuid_1.4.7-5_all.deb ...
Unpacking libjs-node-uuid (1.4.7-5) ...
Selecting previously unselected package libssl1.0-dev:amd64.
Preparing to unpack .../06-libssl1.0-dev_1.0.2n-1ubuntu5.7_amd64.deb ...
Unpacking libssl1.0-dev:amd64 (1.0.2n-1ubuntu5.7) ...
Selecting previously unselected package libuv1-dev:amd64.
Preparing to unpack .../07-libuv1-dev_1.18.0-3_amd64.deb ...
Unpacking libuv1-dev:amd64 (1.18.0-3) ...
Selecting previously unselected package node-async.
Preparing to unpack .../08-node-async_0.8.0-3_all.deb ...
Unpacking node-async (0.8.0-3) ...
Selecting previously unselected package node-fs.realpath.
Preparing to unpack .../09-node-fs.realpath_1.0.0-1_all.deb ...
Unpacking node-fs.realpath (1.0.0-1) ...
Selecting previously unselected package node-wrappy.
Preparing to unpack .../10-node-wrappy_1.0.2-1_all.deb ...
Unpacking node-wrappy (1.0.2-1) ...
Selecting previously unselected package node-once.
Preparing to unpack .../11-node-once_1.4.0-2ubuntu1_all.deb ...
Unpacking node-once (1.4.0-2ubuntu1) ...
Selecting previously unselected package node-inflight.
Preparing to unpack .../12-node-inflight_1.0.6-1_all.deb ...
Unpacking node-inflight (1.0.6-1) ...
Selecting previously unselected package node-isexe.
Preparing to unpack .../13-node-isexe_2.0.0-3_all.deb ...
Unpacking node-isexe (2.0.0-3) ...
Selecting previously unselected package node-node-uuid.
Preparing to unpack .../14-node-node-uuid_1.4.7-5_all.deb ...
Unpacking node-node-uuid (1.4.7-5) ...
Selecting previously unselected package node-path-is-absolute.
Preparing to unpack .../15-node-path-is-absolute_1.0.0-1_all.deb ...
Unpacking node-path-is-absolute (1.0.0-1) ...
Selecting previously unselected package libjs-inherits.
Preparing to unpack .../16-libjs-inherits_2.0.3-1_all.deb ...
Unpacking libjs-inherits (2.0.3-1) ...
Selecting previously unselected package node-abbrev.
Preparing to unpack .../17-node-abbrev_1.0.9-1_all.deb ...
Unpacking node-abbrev (1.0.9-1) ...
Selecting previously unselected package node-ansi.
Preparing to unpack .../18-node-ansi_0.3.0-2ubuntu1_all.deb ...
Unpacking node-ansi (0.3.0-2ubuntu1) ...
Selecting previously unselected package node-balanced-match.
Preparing to unpack .../19-node-balanced-match_0.4.2-1_all.deb ...
Unpacking node-balanced-match (0.4.2-1) ...
Selecting previously unselected package node-inherits.
Preparing to unpack .../20-node-inherits_2.0.3-1_all.deb ...
Unpacking node-inherits (2.0.3-1) ...
Selecting previously unselected package node-block-stream.
Preparing to unpack .../21-node-block-stream_0.0.9-1ubuntu1_all.deb ...
Unpacking node-block-stream (0.0.9-1ubuntu1) ...
Selecting previously unselected package node-concat-map.
Preparing to unpack .../22-node-concat-map_0.0.1-1_all.deb ...
Unpacking node-concat-map (0.0.1-1) ...
Selecting previously unselected package node-brace-expansion.
Preparing to unpack .../23-node-brace-expansion_1.1.8-1_all.deb ...
Unpacking node-brace-expansion (1.1.8-1) ...
Selecting previously unselected package node-delayed-stream.
Preparing to unpack .../24-node-delayed-stream_0.0.5-1_all.deb ...
Unpacking node-delayed-stream (0.0.5-1) ...
Selecting previously unselected package node-combined-stream.
Preparing to unpack .../25-node-combined-stream_0.0.5-1_all.deb ...
Unpacking node-combined-stream (0.0.5-1) ...
Selecting previously unselected package node-cookie-jar.
Preparing to unpack .../26-node-cookie-jar_0.3.1-1_all.deb ...
Unpacking node-cookie-jar (0.3.1-1) ...
Selecting previously unselected package node-forever-agent.
Preparing to unpack .../27-node-forever-agent_0.5.1-1_all.deb ...
Unpacking node-forever-agent (0.5.1-1) ...
Selecting previously unselected package node-mime.
Preparing to unpack .../28-node-mime_1.3.4-1_all.deb ...
Unpacking node-mime (1.3.4-1) ...
Selecting previously unselected package node-form-data.
Preparing to unpack .../29-node-form-data_0.1.0-1_all.deb ...
Unpacking node-form-data (0.1.0-1) ...
Selecting previously unselected package node-minimatch.
Preparing to unpack .../30-node-minimatch_3.0.4-3_all.deb ...
Unpacking node-minimatch (3.0.4-3) ...
Selecting previously unselected package node-glob.
Preparing to unpack .../31-node-glob_7.1.2-4_all.deb ...
Unpacking node-glob (7.1.2-4) ...
Selecting previously unselected package node-rimraf.
Preparing to unpack .../32-node-rimraf_2.6.2-1_all.deb ...
Unpacking node-rimraf (2.6.2-1) ...
Selecting previously unselected package node-mkdirp.
Preparing to unpack .../33-node-mkdirp_0.5.1-1_all.deb ...
Unpacking node-mkdirp (0.5.1-1) ...
Selecting previously unselected package node-graceful-fs.
Preparing to unpack .../34-node-graceful-fs_4.1.11-1_all.deb ...
Unpacking node-graceful-fs (4.1.11-1) ...
Selecting previously unselected package node-fstream.
Preparing to unpack .../35-node-fstream_1.0.10-1ubuntu0.18.04.1_all.deb ...
Unpacking node-fstream (1.0.10-1ubuntu0.18.04.1) ...
Selecting previously unselected package nodejs-dev.
Preparing to unpack .../36-nodejs-dev_8.10.0~dfsg-2ubuntu0.4_amd64.deb ...
Unpacking nodejs-dev (8.10.0~dfsg-2ubuntu0.4) ...
Selecting previously unselected package node-nopt.
Preparing to unpack .../37-node-nopt_3.0.6-3_all.deb ...
Unpacking node-nopt (3.0.6-3) ...
Selecting previously unselected package node-npmlog.
Preparing to unpack .../38-node-npmlog_0.0.4-1_all.deb ...
Unpacking node-npmlog (0.0.4-1) ...
Selecting previously unselected package node-osenv.
Preparing to unpack .../39-node-osenv_0.1.4-1_all.deb ...
Unpacking node-osenv (0.1.4-1) ...
Selecting previously unselected package node-tunnel-agent.
Preparing to unpack .../40-node-tunnel-agent_0.3.1-1_all.deb ...
Unpacking node-tunnel-agent (0.3.1-1) ...
Selecting previously unselected package node-json-stringify-safe.
Preparing to unpack .../41-node-json-stringify-safe_5.0.0-1_all.deb ...
Unpacking node-json-stringify-safe (5.0.0-1) ...
Selecting previously unselected package node-qs.
Preparing to unpack .../42-node-qs_2.2.4-1ubuntu1_all.deb ...
Unpacking node-qs (2.2.4-1ubuntu1) ...
Selecting previously unselected package node-request.
Preparing to unpack .../43-node-request_2.26.1-1_all.deb ...
Unpacking node-request (2.26.1-1) ...
Selecting previously unselected package node-semver.
Preparing to unpack .../44-node-semver_5.4.1-1_all.deb ...
Unpacking node-semver (5.4.1-1) ...
Selecting previously unselected package node-tar.
Preparing to unpack .../45-node-tar_2.2.1-1_all.deb ...
Unpacking node-tar (2.2.1-1) ...
Selecting previously unselected package node-which.
Preparing to unpack .../46-node-which_1.3.0-1_all.deb ...
Unpacking node-which (1.3.0-1) ...
Selecting previously unselected package node-gyp.
Preparing to unpack .../47-node-gyp_3.6.2-1ubuntu1_all.deb ...
Unpacking node-gyp (3.6.2-1ubuntu1) ...
Setting up node-qs (2.2.4-1ubuntu1) ...
Setting up node-osenv (0.1.4-1) ...
Setting up node-ansi (0.3.0-2ubuntu1) ...
Setting up libjs-node-uuid (1.4.7-5) ...
Setting up node-delayed-stream (0.0.5-1) ...
Setting up libjs-inherits (2.0.3-1) ...
Setting up node-tunnel-agent (0.3.1-1) ...
Setting up node-balanced-match (0.4.2-1) ...
Setting up node-node-uuid (1.4.7-5) ...
Setting up python2.7 (2.7.17-1~18.04ubuntu1.6) ...
Setting up libssl1.0-dev:amd64 (1.0.2n-1ubuntu5.7) ...
Setting up node-combined-stream (0.0.5-1) ...
Setting up node-wrappy (1.0.2-1) ...
Setting up node-mime (1.3.4-1) ...
Setting up node-abbrev (1.0.9-1) ...
Setting up node-semver (5.4.1-1) ...
Setting up libpython-stdlib:amd64 (2.7.15~rc1-1) ...
Setting up node-forever-agent (0.5.1-1) ...
Setting up node-json-stringify-safe (5.0.0-1) ...
Setting up node-inherits (2.0.3-1) ...
Setting up node-graceful-fs (4.1.11-1) ...
Setting up node-path-is-absolute (1.0.0-1) ...
Setting up node-isexe (2.0.0-3) ...
Setting up javascript-common (11) ...
Setting up node-cookie-jar (0.3.1-1) ...
Setting up libjs-async (0.8.0-3) ...
Setting up node-concat-map (0.0.1-1) ...
Setting up node-mkdirp (0.5.1-1) ...
Setting up node-once (1.4.0-2ubuntu1) ...
Setting up python (2.7.15~rc1-1) ...
Setting up node-fs.realpath (1.0.0-1) ...
Setting up libuv1-dev:amd64 (1.18.0-3) ...
Setting up node-brace-expansion (1.1.8-1) ...
Setting up node-npmlog (0.0.4-1) ...
Setting up node-nopt (3.0.6-3) ...
Setting up node-which (1.3.0-1) ...
Setting up node-block-stream (0.0.9-1ubuntu1) ...
Setting up python-pkg-resources (39.0.1-2) ...
Setting up node-inflight (1.0.6-1) ...
Setting up gyp (0.1+20150913git1f374df9-1ubuntu1) ...
Setting up node-async (0.8.0-3) ...
Setting up node-form-data (0.1.0-1) ...
Setting up node-request (2.26.1-1) ...
Setting up node-minimatch (3.0.4-3) ...
Setting up nodejs-dev (8.10.0~dfsg-2ubuntu0.4) ...
Setting up node-glob (7.1.2-4) ...
Setting up node-rimraf (2.6.2-1) ...
Setting up node-fstream (1.0.10-1ubuntu0.18.04.1) ...
Setting up node-tar (2.2.1-1) ...
Setting up node-gyp (3.6.2-1ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libjs-jquery libjs-underscore node-ansi-color-table node-archy node-builtin-modules node-fstream-ignore node-github-url-from-git node-hosted-git-info node-ini
  node-is-builtin-module node-lockfile node-lru-cache node-mute-stream node-normalize-package-data node-pseudomap node-read node-read-package-json node-retry node-sha node-slide
  node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-underscore node-validate-npm-package-license node-yallist
The following NEW packages will be installed
  libjs-jquery libjs-underscore node-ansi-color-table node-archy node-builtin-modules node-fstream-ignore node-github-url-from-git node-hosted-git-info node-ini
  node-is-builtin-module node-lockfile node-lru-cache node-mute-stream node-normalize-package-data node-pseudomap node-read node-read-package-json node-retry node-sha node-slide
  node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-underscore node-validate-npm-package-license node-yallist npm
0 to upgrade, 27 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,931 kB of archives.
After this operation, 12.3 MB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libjs-jquery all 3.2.1-1 [152 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libjs-underscore all 1.8.3~dfsg-1ubuntu0.1 [60.4 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-builtin-modules all 1.1.1-1 [3,338 B]
Get:4 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-hosted-git-info all 2.5.0-1 [6,756 B]
Get:5 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-is-builtin-module all 1.0.0-1 [2,906 B]
Get:6 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-pseudomap all 1.0.2-1 [3,534 B]
Get:7 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-spdx-license-ids all 1.2.2-1 [4,792 B]
Get:8 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-spdx-correct all 1.0.2-1 [3,718 B]
Get:9 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-spdx-expression-parse all 1.0.4-1 [12.1 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 node-underscore all 1.8.3~dfsg-1ubuntu0.1 [3,904 B]
Get:11 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-validate-npm-package-license all 3.0.1-1 [3,488 B]
Get:12 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-yallist all 2.0.0-1 [5,398 B]
Get:13 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-ansi-color-table all 1.0.0-1 [4,478 B]
Get:14 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-archy all 1.0.0-1ubuntu1 [4,264 B]
Get:15 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-fstream-ignore all 0.0.6-2 [5,586 B]
Get:16 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-github-url-from-git all 1.4.0-1 [3,782 B]
Get:17 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-ini all 1.3.4-1 [5,588 B]
Get:18 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-lockfile all 0.4.1-1 [5,450 B]
Get:19 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-lru-cache all 4.1.1-1 [8,228 B]
Get:20 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-mute-stream all 0.0.7-1 [4,372 B]
Get:21 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-normalize-package-data all 2.3.5-2 [10.6 kB]
Get:22 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-read all 1.0.7-1 [4,572 B]
Get:23 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-read-package-json all 1.2.4-1 [7,780 B]
Get:24 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-retry all 0.10.1-1 [8,016 B]
Get:25 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-sha all 1.2.3-1 [4,272 B]
Get:26 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 node-slide all 1.1.6-1 [6,212 B]
Get:27 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 npm all 3.5.2-0ubuntu4 [1,586 kB]
Fetched 1,931 kB in 1s (2,796 kB/s)
Selecting previously unselected package libjs-jquery.
(Reading database ... 160503 files and directories currently installed.)
Preparing to unpack .../00-libjs-jquery_3.2.1-1_all.deb ...
Unpacking libjs-jquery (3.2.1-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../01-libjs-underscore_1.8.3~dfsg-1ubuntu0.1_all.deb ...
Unpacking libjs-underscore (1.8.3~dfsg-1ubuntu0.1) ...
Selecting previously unselected package node-builtin-modules.
Preparing to unpack .../02-node-builtin-modules_1.1.1-1_all.deb ...
Unpacking node-builtin-modules (1.1.1-1) ...
Selecting previously unselected package node-hosted-git-info.
Preparing to unpack .../03-node-hosted-git-info_2.5.0-1_all.deb ...
Unpacking node-hosted-git-info (2.5.0-1) ...
Selecting previously unselected package node-is-builtin-module.
Preparing to unpack .../04-node-is-builtin-module_1.0.0-1_all.deb ...
Unpacking node-is-builtin-module (1.0.0-1) ...
Selecting previously unselected package node-pseudomap.
Preparing to unpack .../05-node-pseudomap_1.0.2-1_all.deb ...
Unpacking node-pseudomap (1.0.2-1) ...
Selecting previously unselected package node-spdx-license-ids.
Preparing to unpack .../06-node-spdx-license-ids_1.2.2-1_all.deb ...
Unpacking node-spdx-license-ids (1.2.2-1) ...
Selecting previously unselected package node-spdx-correct.
Preparing to unpack .../07-node-spdx-correct_1.0.2-1_all.deb ...
Unpacking node-spdx-correct (1.0.2-1) ...
Selecting previously unselected package node-spdx-expression-parse.
Preparing to unpack .../08-node-spdx-expression-parse_1.0.4-1_all.deb ...
Unpacking node-spdx-expression-parse (1.0.4-1) ...
Selecting previously unselected package node-underscore.
Preparing to unpack .../09-node-underscore_1.8.3~dfsg-1ubuntu0.1_all.deb ...
Unpacking node-underscore (1.8.3~dfsg-1ubuntu0.1) ...
Selecting previously unselected package node-validate-npm-package-license.
Preparing to unpack .../10-node-validate-npm-package-license_3.0.1-1_all.deb ...
Unpacking node-validate-npm-package-license (3.0.1-1) ...
Selecting previously unselected package node-yallist.
Preparing to unpack .../11-node-yallist_2.0.0-1_all.deb ...
Unpacking node-yallist (2.0.0-1) ...
Selecting previously unselected package node-ansi-color-table.
Preparing to unpack .../12-node-ansi-color-table_1.0.0-1_all.deb ...
Unpacking node-ansi-color-table (1.0.0-1) ...
Selecting previously unselected package node-archy.
Preparing to unpack .../13-node-archy_1.0.0-1ubuntu1_all.deb ...
Unpacking node-archy (1.0.0-1ubuntu1) ...
Selecting previously unselected package node-fstream-ignore.
Preparing to unpack .../14-node-fstream-ignore_0.0.6-2_all.deb ...
Unpacking node-fstream-ignore (0.0.6-2) ...
Selecting previously unselected package node-github-url-from-git.
Preparing to unpack .../15-node-github-url-from-git_1.4.0-1_all.deb ...
Unpacking node-github-url-from-git (1.4.0-1) ...
Selecting previously unselected package node-ini.
Preparing to unpack .../16-node-ini_1.3.4-1_all.deb ...
Unpacking node-ini (1.3.4-1) ...
Selecting previously unselected package node-lockfile.
Preparing to unpack .../17-node-lockfile_0.4.1-1_all.deb ...
Unpacking node-lockfile (0.4.1-1) ...
Selecting previously unselected package node-lru-cache.
Preparing to unpack .../18-node-lru-cache_4.1.1-1_all.deb ...
Unpacking node-lru-cache (4.1.1-1) ...
Selecting previously unselected package node-mute-stream.
Preparing to unpack .../19-node-mute-stream_0.0.7-1_all.deb ...
Unpacking node-mute-stream (0.0.7-1) ...
Selecting previously unselected package node-normalize-package-data.
Preparing to unpack .../20-node-normalize-package-data_2.3.5-2_all.deb ...
Unpacking node-normalize-package-data (2.3.5-2) ...
Selecting previously unselected package node-read.
Preparing to unpack .../21-node-read_1.0.7-1_all.deb ...
Unpacking node-read (1.0.7-1) ...
Selecting previously unselected package node-read-package-json.
Preparing to unpack .../22-node-read-package-json_1.2.4-1_all.deb ...
Unpacking node-read-package-json (1.2.4-1) ...
Selecting previously unselected package node-retry.
Preparing to unpack .../23-node-retry_0.10.1-1_all.deb ...
Unpacking node-retry (0.10.1-1) ...
Selecting previously unselected package node-sha.
Preparing to unpack .../24-node-sha_1.2.3-1_all.deb ...
Unpacking node-sha (1.2.3-1) ...
Selecting previously unselected package node-slide.
Preparing to unpack .../25-node-slide_1.1.6-1_all.deb ...
Unpacking node-slide (1.1.6-1) ...
Selecting previously unselected package npm.
Preparing to unpack .../26-npm_3.5.2-0ubuntu4_all.deb ...
Unpacking npm (3.5.2-0ubuntu4) ...
Setting up node-lockfile (0.4.1-1) ...
Setting up node-spdx-expression-parse (1.0.4-1) ...
Setting up libjs-jquery (3.2.1-1) ...
Setting up node-ansi-color-table (1.0.0-1) ...
Setting up node-hosted-git-info (2.5.0-1) ...
Setting up libjs-underscore (1.8.3~dfsg-1ubuntu0.1) ...
Setting up node-yallist (2.0.0-1) ...
Setting up node-slide (1.1.6-1) ...
Setting up node-fstream-ignore (0.0.6-2) ...
Setting up node-github-url-from-git (1.4.0-1) ...
Setting up node-pseudomap (1.0.2-1) ...
Setting up node-spdx-license-ids (1.2.2-1) ...
Setting up node-retry (0.10.1-1) ...
Setting up node-underscore (1.8.3~dfsg-1ubuntu0.1) ...
Setting up node-archy (1.0.0-1ubuntu1) ...
Setting up node-builtin-modules (1.1.1-1) ...
Setting up node-spdx-correct (1.0.2-1) ...
Setting up node-mute-stream (0.0.7-1) ...
Setting up node-ini (1.3.4-1) ...
Setting up node-sha (1.2.3-1) ...
Setting up node-is-builtin-module (1.0.0-1) ...
Setting up node-lru-cache (4.1.1-1) ...
Setting up node-validate-npm-package-license (3.0.1-1) ...
Setting up node-read (1.0.7-1) ...
Setting up node-normalize-package-data (2.3.5-2) ...
Setting up node-read-package-json (1.2.4-1) ...
Setting up npm (3.5.2-0ubuntu4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
npm install
npm WARN deprecated [email protected]: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
npm WARN deprecated [email protected]: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
npm WARN deprecated [email protected]: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! Linux 5.4.0-89-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror     at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror     at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror     at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror     at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror     at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/peter/Repositories/simphony-remote/npm-debug.log
Makefile:110: recipe for target 'npmdeps' failed
make[3]: *** [npmdeps] Error 1
make[3]: Leaving directory '/home/peter/Repositories/simphony-remote'
Makefile:44: recipe for target 'osdeps' failed
make[2]: *** [osdeps] Error 2
make[2]: Leaving directory '/home/peter/Repositories/simphony-remote'
Makefile:57: recipe for target 'ubuntudeps' failed
make[1]: *** [ubuntudeps] Error 2
make[1]: Leaving directory '/home/peter/Repositories/simphony-remote'
Makefile:26: recipe for target 'deps' failed
make: *** [deps] Error 2
@peterzahemszky
Copy link
Contributor Author

This is a potentially related ticket: npm/cli#588

@peterzahemszky
Copy link
Contributor Author

It looks like updating npm and node resolves this issue; I can't reproduce the failure any more with npm 8.1.1 and node 16.13.0.

Closing in favour of #571.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant