Your message dated Mon, 10 Jun 2019 11:44:01 -0400
with message-id <[email protected]>
and subject line Re: [Pkg-javascript-devel] Bug#930034: nodejs: yarnpkg unable
to install files with node 10.15
has caused the Debian Bug report #930034,
regarding nodejs: yarnpkg unable to install files with node 10.15
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
930034: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930034
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 [email protected]: 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
Arguments:
/usr/bin/node /usr/bin/yarnpkg add leftpad
PATH:
/home/hubert/perl5/bin:/home/hubert/.local/bin:/home/hubert/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/sbin
Yarn version:
1.13.0
Node version:
10.15.2
Platform:
linux x64
Trace:
Error: 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'
npm manifest:
{
"name": "foo",
"version": "1.0.0",
"main": "index.js",
"license": "MIT"
}
yarn manifest:
No manifest
Lockfile:
No lockfile
--- End Message ---
--- Begin Message ---
On Wed, 5 Jun 2019 20:02:13 +0200, Jérémy Lal <[email protected]> said:
> I can't reproduce on debian 10 a.k.a. Buster, which is the version of
> debian that distributes nodejs 10.15.2. Also there is no backport
> available (that i know of) on debian 9.9. I would also like to point
> out that if you found a bug installing a node module, the bug it
> probably in either of: - the node module itself - node-gyp if the
> module is an addon - yarnpkg, npm
I just tested on a clean buster docker image, and it indeed seems to be
working correctly there, so it does seem to be something weird with my
setup. Closing for now. Sorry for the noise.
--
Hubert Chathi <[email protected]> -- https://www.uhoreg.ca/
Jabber: [email protected] -- Matrix: @uhoreg:matrix.org
PGP/GnuPG key: 4096R/F24C F749 6C73 DDB8 DCB8 72DE B2DE 88D3 113A 1368
--- End Message ---
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel