| 10 Aug 2023 |
Lily Foster | Hmmm, I'm not sure other than saying to try a build | 00:46:03 |
countoren | ok | 00:46:16 |
Lily Foster | Maybe you could add a postPatch = "echo $NIX_NPM_TOKENS" to your derivation and see if it's in the output | 00:46:47 |
countoren | trying to build | 00:47:22 |
countoren | with your branch | 00:47:26 |
countoren | Redacted or Malformed Event | 00:49:03 |
countoren | * from systemctl show-enviroment : ```NIX_NPM_TOKENS={npm.fontawesome.com:111111111111111111111111111111111111} | 00:49:20 |
countoren | * from systemctl show-enviroment :
NIX\_NPM\_TOKENS={npm.fontawesome.com:111111111111111111111111111111111111} | 00:49:48 |
Lily Foster | You might want to delete and resend the message. Edit history is still viewable in Matrix 🙈 | 00:49:51 |
countoren | lol | 00:50:00 |
countoren | getting those errors:
npm WARN tar TAR_BAD_ARCHIVE: Unrecognized archive format
npm WARN tarball cached data for @fortawesome/pro-solid-svg-icons@https://npm.fontawesome.com/@fortawesome/pro-solid-svg-icons/-/5.14.0/pro-solid-svg-icons>
| 00:55:25 |
countoren | warnings sorry | 00:55:41 |
countoren | and this is the errors :
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"
| 00:56:22 |
Lily Foster | Can you share the contents of that file it tried to unlink? | 00:56:48 |
countoren | 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 | the file content:
{"ok": false, "error": "authentication required"}
| 01:03:44 |
Lily 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 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 | sure | 01:05:06 |
Lily Foster | When building the fetcher deriv (so you might need to fiddle with the deps hash) | 01:05:19 |
countoren | where do I get the rust log from? | 01:07:43 |
countoren | 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 Foster | You need to invalidate the npm deps hash so it reruns the fetcher | 01:11:52 |
countoren | o that make sense | 01:12:04 |
Lily Foster | You should see a bunch of isahc:debug log statements | 01:12:06 |
Lily Foster | If that's not enough I might ask for a RUSTLOG=trace too | 01:12:26 |
Lily 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 Foster | (I'm assuming something's wonky with the http header or maybe I typo'd it) | 01:13:36 |
countoren | no isahc:debug | 01:14:56 |
Lily Foster | Hmmm 🤔, I'll do some of my own testing tomorrow and get some logs | 01:15:33 |