!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

206 Members
59 Servers

Load older messages


SenderMessageTime
10 Aug 2023
@lily:lily.flowersLily FosterCan you share the contents of that file it tried to unlink?00:56:48
@countoren:matrix.orgcountoren

getting this too:

Your cache folder contains root-owned files, due to a bug in
previous versions of npm which has since been addressed.

To permanently fix this problem, please run:
  sudo chown -R 1000:100 "/nix/store/zs3dw8r0b79235mnhy55bc3am67li6yr-client-0.0.0-npm-deps"
01:02:07
@countoren:matrix.orgcountoren

the file content:

{"ok": false, "error": "authentication required"}
01:03:44
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org

getting this too:

Your cache folder contains root-owned files, due to a bug in
previous versions of npm which has since been addressed.

To permanently fix this problem, please run:
  sudo chown -R 1000:100 "/nix/store/zs3dw8r0b79235mnhy55bc3am67li6yr-client-0.0.0-npm-deps"
That's harmless
01:04:09
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org

the file content:

{"ok": false, "error": "authentication required"}
Hmmmm. Can you add postPatch = "export RUSTLOG=debug" and share log?
01:04:56
@countoren:matrix.orgcountorensure01:05:06
@lily:lily.flowersLily FosterWhen building the fetcher deriv (so you might need to fiddle with the deps hash)01:05:19
@countoren:matrix.orgcountorenwhere do I get the rust log from?01:07:43
@countoren:matrix.orgcountoren
npm ERR! Log files were not written due to an error writing to the directory: /nix/store/zs3dw8r0b79235mnhy55bc3am67li6yr-client-0.0.0-npm-deps/_logs
01:10:30
@lily:lily.flowersLily FosterYou need to invalidate the npm deps hash so it reruns the fetcher01:11:52
@countoren:matrix.orgcountoreno that make sense01:12:04
@lily:lily.flowersLily Foster You should see a bunch of isahc:debug log statements 01:12:06
@lily:lily.flowersLily Foster If that's not enough I might ask for a RUSTLOG=trace too 01:12:26
@lily:lily.flowersLily Foster(It's also 21:12 here so I'm going to sleep in a few, but I'll be able to respond more in the morning)01:13:14
@lily:lily.flowersLily Foster(I'm assuming something's wonky with the http header or maybe I typo'd it)01:13:36
@countoren:matrix.orgcountorenno isahc:debug01:14:56
@lily:lily.flowersLily FosterHmmm 🤔, I'll do some of my own testing tomorrow and get some logs01:15:33
@countoren:matrix.orgcountoren
npm WARN tar TAR_BAD_ARCHIVE: Unrecognized archive format
npm WARN tarball cached data for @fortawesome/fontawesome-svg-core@https://npm.fontawesome.com/@fortawesome/fontawesome-svg-core/-/1.2.30/fontawesome-svg-c>
npm WARN tar TAR_BAD_ARCHIVE: Unrecognized archive format
npm WARN tarball cached data for @fortawesome/angular-fontawesome@https://npm.fontawesome.com/@fortawesome/angular-fontawesome/-/angular-fontawesome-0.5.0.>
npm verb stack Error: EACCES: permission denied, unlink '/nix/store/zs3dw8r0b79235mnhy55bc3am67li6yr-client-0.0.0-npm-deps/_cacache/content-v2/sha512/fb/1b>
npm verb cwd /build/server
npm verb Linux 5.15.103
npm verb node v18.16.1
npm verb npm  v9.5.1
npm ERR! code EACCES
npm ERR! syscall unlink
npm ERR! path /nix/store/zs3dw8r0b79235mnhy55bc3am67li6yr-client-0.0.0-npm-deps/_cacache/content-v2/sha512/fb/1b/636c8cbf6e3cece11bffdb6eee3c943e6f818d76b5>
npm ERR! errno -13
npm verb Error: EACCES: permission denied, unlink '/nix/store/zs3dw8r0b79235mnhy55bc3am67li6yr-client-0.0.0-npm-deps/_cacache/content-v2/sha512/fb/1b/636c8>
npm ERR! 
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR! 
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 1000:100 "/nix/store/zs3dw8r0b79235mnhy55bc3am67li6yr-client-0.0.0-npm-deps"
npm verb exit -13
npm verb unfinished npm timer reify 1691629999709
npm verb unfinished npm timer reify:unpack 1691630000039
npm verb unfinished npm timer reifyNode:node_modules/@fortawesome/pro-solid-svg-icons 1691630000170
npm verb unfinished npm timer reifyNode:node_modules/@fortawesome/pro-light-svg-icons 1691630000170
npm verb unfinished npm timer reifyNode:node_modules/@fortawesome/fontawesome-svg-core 1691630000170
npm verb unfinished npm timer reifyNode:node_modules/@fortawesome/fontawesome-common-types 1691630000170
npm verb unfinished npm timer reifyNode:node_modules/@fortawesome/angular-fontawesome 1691630000170
npm verb code -13

npm ERR! Log files were not written due to an error writing to the directory: /nix/store/zs3dw8r0b79235mnhy55bc3am67li6yr-client-0.0.0-npm-deps/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal

ERROR: npm failed to install dependencies

Here are a few things you can try, depending on the error:
1. Set `makeCacheWritable = true`
  Note that this won't help if npm is complaining about not being able to write to the logs directory -- look above that for the actual error.
2. Set `npmFlags = [ "--legacy-peer-deps" ]`
lines 32-70/71 100%
01:15:50
@countoren:matrix.orgcountorenfrom nix log01:15:55
@countoren:matrix.orgcountoreni can show the first 32 lines too if you need01:16:33
@countoren:matrix.orgcountorennp01:16:47
@countoren:matrix.orgcountoren Lily Foster: Thank you for your help 01:21:35
@gdesforges:matrix.org@gdesforges:matrix.org Lily Foster: I've tested manually marp-cli from your Nix code and it works well 🎉 I've pushed a PR. Are you the one who can approve? https://github.com/NixOS/nixpkgs/pull/248107 10:14:12
@gdesforges:matrix.org@gdesforges:matrix.org * Lily Foster: I've tested manually marp-cli from your Nix code and it works well 🎉 I've pushed a PR. Are you the one who can approve and merge? https://github.com/NixOS/nixpkgs/pull/248107 10:14:25
@lily:lily.flowersLily Foster
In reply to @gdesforges:matrix.org
Lily Foster: I've tested manually marp-cli from your Nix code and it works well 🎉 I've pushed a PR. Are you the one who can approve and merge? https://github.com/NixOS/nixpkgs/pull/248107
Yep, I can. Request my review and I'll try to get to it today
10:15:11
@robert:funklause.dedotlambda Ambroisie: Does pnpm-lock-export need internet access and does it have a reproducible output? 16:41:27
@ambroisie:belanyi.fr@ambroisie:belanyi.fr
In reply to @robert:funklause.de
Ambroisie: Does pnpm-lock-export need internet access and does it have a reproducible output?
  1. I don't think so
  2. I think so
    But I haven't checked either
16:51:33
@ambroisie:belanyi.fr@ambroisie:belanyi.fr* In reply to @robert:funklause.de Ambroisie: Does pnpm-lock-export need internet access and does it have a reproducible output? I don't think so I think so But I haven't checked either 16:51:50
@ambroisie:belanyi.fr@ambroisie:belanyi.frUrgh, the formatting is absolutely screwed up16:52:06
@robert:funklause.dedotlambda So why use it in the update script rather than postPatch? 16:59:12

Show newer messages


Back to Room ListRoom Version: 6