!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
59 Servers

Load older messages


SenderMessageTime
8 Mar 2024
@hexa:lossy.networkhexaah lol23:22:30
@hexa:lossy.networkhexais it … in fact … deleting the symlink I created?23:22:38
@hexa:lossy.networkhexahow rude23:22:51
@lily:lily.flowersLily Foster yep that's now reification works. it adds and deletes 23:22:51
@lily:lily.flowersLily Fosterindeed23:22:54
@hexa:lossy.networkhexacopying it23:23:12
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
yep that's now reification works. it adds and deletes
(well sort of. it doesn't necessarily delete without prune, but some things it does)
23:23:19
@hexa:lossy.networkhexa
pretix> running build
pretix> npm ERR! code EACCESdealTree: timing idealTree Completed in 156msms
pretix> npm ERR! syscall mkdir
pretix> npm ERR! path /build/source/src/pretix/static.dist/node_prefix/node_modules/fsevents
pretix> npm ERR! errno -13
pretix> npm ERR! Error: EACCES: permission denied, mkdir '/build/source/src/pretix/static.dist/node_prefix/node_modules/fsevents'
pretix> npm ERR!  [Error: EACCES: permission denied, mkdir '/build/source/src/pretix/static.dist/node_prefix/node_modules/fsevents'] {
pretix> npm ERR!   errno: -13,
pretix> npm ERR!   code: 'EACCES',
pretix> npm ERR!   syscall: 'mkdir',
pretix> npm ERR!   path: '/build/source/src/pretix/static.dist/node_prefix/node_modules/fsevents'
pretix> npm ERR! }
pretix> npm ERR! 
pretix> npm ERR! The operation was rejected by your operating system.
pretix> npm ERR! It is likely you do not have the permissions to access this file as the current user
pretix> npm ERR! 
pretix> npm ERR! If you believe this might be a permissions issue, please double-check the
pretix> npm ERR! permissions of the file and its containing directories, or try running
pretix> npm ERR! the command again as root/Administrator.
pretix> 
pretix> npm ERR! Log files were not written due to an error writing to the directory: /homeless-shelter/.npm/_logs
pretix> npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
23:23:23
@hexa:lossy.networkhexano preserve mode possibly23:23:30
@lily:lily.flowersLily Fosteryeah probably23:23:40
@hexa:lossy.networkhexayep, that did it23:24:06
9 Mar 2024
@qyriad:katesiria.orgQyriad joined the room.00:37:30
@hellwolf:matrix.orghellwolf

Is it possible to create nix-shell script for single node scripts?

Something like:

#!/usr/bin/env nix-shell
#!nix-shell -l node -p node nodePackages.xyz nodePakcage.abc

However, since many dependencies are not available from nixpkgs, what would be the alternative?

09:36:09
@hellwolf:matrix.orghellwolf *

Is it possible to create nix-shell script for single node scripts?

Something like:

#!/usr/bin/env nix-shell
#!nix-shell -l node -p node nodePackages.xyz nodePakcage.abc

However, since many dependencies are not available from nixpkgs, what could be done instead?

09:36:19
@l_inus:matrix.orgLinus changed their profile picture.12:35:53
@hexa:lossy.networkhexa What is the pnpm situation rn? 18:40:23
@hexa:lossy.networkhexa Just making sure I have not missed anything 18:41:06
@kyle:iteratee.net@kyle:iteratee.net
In reply to @hexa:lossy.network
What is the pnpm situation rn?
I have a PR open for pnpm2nix-nzbr that supports multi-component workspaces with pnpm.
19:26:36
@hexa:lossy.networkhexaI'm kinda interested in zuliup19:35:33
@hexa:lossy.networkhexa * I'm kinda interested in zuli[19:35:34
@hexa:lossy.networkhexa * I'm kinda interested in zulip19:35:36
@hexa:lossy.networkhexahttps://github.com/zulip/zulip19:35:45
@hexa:lossy.networkhexamight take a peek once I'm dong with pretix, if I have time and spoons left19:36:04
@hexa:lossy.networkhexafor now … another question19:37:23
@hexa:lossy.networkhexa I have an output withnode_modules 19:37:33
@hexa:lossy.networkhexaI copied it instead of symlink it, so it can be modified during build19:37:44
@hexa:lossy.networkhexa used --no-reserve=mode, so it would rely on the umask to be read/writable 19:38:05
@hexa:lossy.networkhexa but now it wants to call an executable from the node_modules dir 19:38:53
@hexa:lossy.networkhexaand I think I'm wiping out executable chmod on all executables19:39:09
@hexa:lossy.networkhexa

django.core.management.base.CommandError: An error occurred during rendering pretixcontrol/checkin/list_edit.html: /nix/store/4vzal97iq3dmrgycj8r0gflrh51p8w1s-bash-5.2p26/bin/sh: line 1: /build/source/src/pretix/static.dist/node_prefix/node_modules/rollup/dist/bin/rollup: Permission denied

19:39:11

Show newer messages


Back to Room ListRoom Version: 6