[Pkg-javascript-devel] Bug#930034: nodejs: yarnpkg unable to install files with node 10.15

Hubert Chathi hubert at uhoreg.ca
Wed Jun 5 16:44:28 BST 2019


Package: nodejs
Version: 10.15.2~dfsg-2
Severity: important

When using nodejs 10.15.2, yarnpkg is unable to copy files to install
dependencies.  eg:

~/tmp$ mkdir foo
~/tmp$ cd foo/
~/tmp/foo$ yarnpkg init
yarn init v1.13.0
question name (foo): 
question version (1.0.0): 
question description: 
question entry point (index.js): 
question repository url: 
question author: 
question license (MIT): 
question private: 
success Saved package.json
Done in 14.00s.
~/tmp/foo $ yarnpkg add leftpad
yarn add v1.13.0
info No lockfile found.
[1/4] Resolving packages...
warning leftpad at 0.0.1: Use the built-in String.padStart function instead
[2/4] Fetching packages...
[3/4] Linking dependencies...
error An unexpected error occurred: "EINVAL: invalid argument, copyfile '/home/hubert/.cache/yarn/v4/npm-leftpad-0.0.1-86b1a4de4face180ac545a83f1503523d8fed115/node_modules/leftpad/CHANGELOG.md' -> '/home/hubert/tmp/foo/node_modules/leftpad/CHANGELOG.md'".
info If you think this is a bug, please open a bug report with the information provided in "/home/hubert/tmp/foo/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

It works correctly with nodejs 8.11.1 from stretch-backports, hence
filing this issue against nodejs rather than yarnpkg.  (But FWIW, the
yarnpkg version is 1.13.0-1).

The yarn-error.log doesn't seem to include any useful information, but
I've attached it for completeness.

-- System Information:
Debian Release: 9.9
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (300, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nodejs depends on:
ii  libc-ares2     1.14.0-1~bpo9+1
ii  libc6          2.28-10
ii  libgcc1        1:8.3.0-6
ii  libicu63       63.1-6
ii  libnghttp2-14  1.36.0-2
ii  libnode64      10.15.2~dfsg-2
ii  libssl1.1      1.1.1b-2
ii  libstdc++6     8.3.0-6
ii  libuv1         1.24.1-1
ii  zlib1g         1:1.2.11.dfsg-1

Versions of packages nodejs recommends:
ii  ca-certificates  20161130+nmu1+deb9u1
ii  nodejs-doc       8.11.1~dfsg-2~bpo9+1

Versions of packages nodejs suggests:
ii  npm  5.8.0+ds6-4

-- no debconf information
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: yarn-error.log
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190605/ef5b0266/attachment.ksh>


More information about the Pkg-javascript-devel mailing list