!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

194 Members
56 Servers

Load older messages


SenderMessageTime
30 Jan 2024
@lily:lily.flowersLily Fosterohh yeah it did fail to load config00:46:03
@lily:lily.flowersLily Fosteri can't read. am tired00:46:08
@hexa:lossy.networkhexa
❯ CRYPTPAD_CONFIG=$(pwd)/config/config.js ./result/bin/cryptpad-server
/nix/store/h0iylf7szzwl1yvpcxgs350w5ribv12a-cryptpad-5.6.0/lib/node_modules/cryptpad/lib/log.js:102
            throw err;
            ^

[Error: EROFS: read-only file system, mkdir '/nix/store/h0iylf7szzwl1yvpcxgs350w5ribv12a-cryptpad-5.6.0/lib/node_modules/cryptpad/data'] {
  errno: -30,
  code: 'EROFS',
  syscall: 'mkdir',
  path: '/nix/store/h0iylf7szzwl1yvpcxgs350w5ribv12a-cryptpad-5.6.0/lib/node_modules/cryptpad/data'
}

Node.js v20.11.0
00:46:14
@hexa:lossy.networkhexait uses relative paths through the example config00:46:47
@hexa:lossy.networkhexaand relative always mean relative to the package, not to my cwd00:47:01
@hexa:lossy.networkhexaand no common base path o_O00:47:45
@lily:lily.flowersLily Fosterwhat's in your config.js?00:48:00
@hexa:lossy.networkhexahttps://github.com/cryptpad/cryptpad/blob/5.6.0/config/config.example.js00:48:21
@hexa:lossy.networkhexaall default for now00:48:24
@lily:lily.flowersLily Fosterohhhh i see what you're saying00:48:25
@lily:lily.flowersLily Fosteryeah00:48:32
@lily:lily.flowersLily Fosterthat, uh, does sound silly00:48:40
@hexa:lossy.networkhexaok, it is up, doesn't even log startup things00:52:05
@hexa:lossy.networkhexawild.00:52:13
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/251687 hmm00:53:34
@hexa:lossy.networkhexaI think I am now uniquely qualified to review that existing PR00:53:46
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
and relative always mean relative to the package, not to my cwd
i can't tell how or why this would be the case, by some quick looking through the code on mobile 👀
00:55:41
@hexa:lossy.networkhexaugh, mobile 😄00:55:54
@hexa:lossy.networkhexadon'00:55:55
@hexa:lossy.networkhexa * don't do that00:55:57
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
don'
(it is, uh, hurting to use gh's search for this on mobile, yeah...)
00:56:41
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/251687/files#diff-0484e02777f32406a41a22e3f48f96f437ec183b1d3d3f9533d67370e6fb0620R49-R6300:57:30
@hexa:lossy.networkhexathis hurts as well 😄 00:57:33
@hexa:lossy.networkhexathat whole installPhase is wild00:58:22
@marie:marie.cologneMarieI can't get npm to write a non broken lockfile for me, any ideas? I tried with npm 9.8.1, 10.2.4 and 1.4.0 on different systems and all don't add integrity and resolved fields for a few dependencies I tried running npm-lockfile-fix but this also seems to break the lockfile09:32:03
@marie:marie.cologneMarie * I can't get npm to write a non broken lockfile for me, any ideas? I tried with npm 9.8.1, 10.2.4 and 10.4.0 on different systems and all don't add integrity and resolved fields for a few dependencies I tried running npm-lockfile-fix but this also seems to break the lockfile09:32:12
@marie:marie.cologneMarieI also deleted node_modules, package-lock.json and the npm cache before running npm install09:33:06
@whentze:matrix.orgWanja Hentze
In reply to @marie:marie.cologne
I can't get npm to write a non broken lockfile for me, any ideas?
I tried with npm 9.8.1, 10.2.4 and 10.4.0 on different systems and all don't add integrity and resolved fields for a few dependencies
I tried running npm-lockfile-fix but this also seems to break the lockfile
are these peer deps by any chance?
10:10:23
@marie:marie.cologneMarieno, but the project is a workspace and the dependencies with issues seem to be used in different versions across workspace packages10:11:09
@whentze:matrix.orgWanja Hentzeoh, I've seen that with workspaces too, but sadly don't remember the fix :/10:18:57

Show newer messages


Back to Room ListRoom Version: 6