On Sun, 29 Nov 2020 18:02:16 +0530 Pirate Praveen <prav...@onenetbeyond.org>
wrote:
Control: clone -1 -2
Control: retitle -2 "Provide prebuilt yarnpkg in contrib"
On Sat, Nov 28, 2020 at 22:07, Paolo Greppi <paolo.gre...@libpf.com>
wrote:
>> 3. Build it using 'deb
>> https://snapshot.debian.org/archive/debian/20200502T085134Z sid
>> main' (the last version that builds in sid) and embed the built
>> files in the package (as two steps, like we bootstrap babel, rollup
>> etc). This will mean, we will have to move it to contrib. I prefer
>> shipping yarn in contrib to missing it in bullseye.
>
> +1
I have a created a new branch master-contrib in salsa and pushed my
changes.
Please review the changes and if it looks good, we can upload it. Also
we can move this discussion to the cloned bug.
I have made a couple of commits to master-contrib branch.
The resulting package was not installable due to node-babel-runtime missing
from testing.
I naïvely removed that from the run time deps, but now yarnpkg fails with:
internal/modules/cjs/loader.js:905
throw err;
^
Error: Cannot find module 'babel-runtime/helpers/asyncToGenerator'
Require stack:
- /usr/share/nodejs/yarn/lib/cli/index.js
- /usr/share/nodejs/yarn/bin/yarn.js
at Function.Module._resolveFilename
(internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:747:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:88:18)
at _load_asyncToGenerator (/usr/share/nodejs/yarn/lib/cli/index.js:17:54)
at /usr/share/nodejs/yarn/lib/cli/index.js:21:41
at Object.<anonymous> (/usr/share/nodejs/yarn/lib/cli/index.js:605:3)
at Module._compile (internal/modules/cjs/loader.js:1085:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/share/nodejs/yarn/lib/cli/index.js',
'/usr/share/nodejs/yarn/bin/yarn.js'
]
}
Also it does not install the man manpage.
Paolo
--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel