!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

194 Members
56 Servers

Load older messages


SenderMessageTime
21 Dec 2023
@lily:lily.flowersLily Fosteryeah but sure pre-rendering wouldn't matter for server-only modules, right?16:32:13
@lily:lily.flowersLily Foster * yeah but surely pre-rendering wouldn't matter for server-only modules, right?16:32:16
@lily:lily.flowersLily Fosterunless it's getting propagated to the client somehow? idk i don't know much svelte16:32:33
@peter-lustig:matrix.orgpeter-lustig
In reply to @lily:lily.flowers
unless it's getting propagated to the client somehow? idk i don't know much svelte
yeah it is
16:33:12
@peter-lustig:matrix.orgpeter-lustigthere is always a server route and a client route and you pass data from server to client16:33:25
@peter-lustig:matrix.orgpeter-lustigbut yeah i guess you cannot help me here because you know not muc habout sveltekit16:34:43
@peter-lustig:matrix.orgpeter-lustigill wait on an answer from someone on the discord16:34:52
@lily:lily.flowersLily Fosterdoes sveltekit have a discord? spooky16:35:03
@whentze:matrix.orgWanja Hentzeevery webdev project worth its salt has at least one discord16:36:27
@peter-lustig:matrix.orgpeter-lustigyeah very active16:36:31
@peter-lustig:matrix.orgpeter-lustigi do not think ill figure this out people on the svelte server also have no clue lmao17:03:52
@lily:lily.flowersLily Foster
In reply to @peter-lustig:matrix.org
i do not think ill figure this out people on the svelte server also have no clue lmao
would you be opposed to privately sharing your project? i am very curious to learn where and how this is happening
17:05:54
@thiloho:matrix.orgthiloho
In reply to @peter-lustig:matrix.org
i do not think ill figure this out people on the svelte server also have no clue lmao
I actually have the same problem, I did the same procedure a few minutes ago.
17:24:57
@thiloho:matrix.orgthiloho
In reply to @lily:lily.flowers
would you be opposed to privately sharing your project? i am very curious to learn where and how this is happening
I will share my project with you.
17:25:32
22 Dec 2023
@thiloho:matrix.orgthiloho peter-lustig: The error you and I were having was resolved in SvelteKit 2.0.6 release (couple of hours ago). By upgrading to the latest version via npm install @sveltejs/kit@latest, $env/dynamic/private works properly. 12:16:47
@thiloho:matrix.orgthiloho *

peter-lustig: The error you and I were having was resolved in SvelteKit 2.0.6 release (couple of hours ago). By upgrading to the latest version via npm install @sveltejs/kit@latest, $env/dynamic/private works properly.

https://github.com/sveltejs/kit/releases/tag/%40sveltejs%2Fkit%402.0.6

12:21:51
23 Dec 2023
@serowy:matrix.orgsero joined the room.14:28:56
@serowy:matrix.orgsero heho, im packaging a nodejs cli for nixpkgs currently. The package gets build but when running it, ill get spawn node ENOENT because the syscall is just spawn node without the correct nixpkgs path. Is there an elegant way to solve this? 14:30:54
@c0ba1t:matrix.orgCobalt
In reply to @serowy:matrix.org
heho, im packaging a nodejs cli for nixpkgs currently. The package gets build but when running it, ill get spawn node ENOENT because the syscall is just spawn node without the correct nixpkgs path. Is there an elegant way to solve this?
You could wrap it to provide the node bin as part of PATH
15:24:00
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:22:37
24 Dec 2023
@sandro:supersandro.deSandro 🐧
In reply to @adis:blad.is
And faster isn't the only concern.
Bytes transferred matters.
We need to optimize for both. Otherwise we make the experience for you better and for everyone with faster internet connection much worse which sucks.
15:19:56
28 Dec 2023
@pkolloch:matrix.org@pkolloch:matrix.org joined the room.12:56:16
29 Dec 2023
@hexa:lossy.networkhexahow shitty is the v8 gc?18:02:30
@hexa:lossy.networkhexa
 matrix-appservice-irc[895]: <--- Last few GCs --->
 matrix-appservice-irc[895]: [895:0x3cae3c0] 102505230 ms: Mark-Compact (reduce) 1977.4 (2086.4) -> 1975.6 (2086.4) MB, 3626.86 / 0.00 ms  (average mu = 0.118, current mu = 0.012) allocation failure; GC in old space requested
 matrix-appservice-irc[895]: [895:0x3cae3c0] 102510465 ms: Mark-Compact (reduce) 1975.6 (2086.4) -> 1975.6 (2084.6) MB, 5234.60 / 0.00 ms  (average mu = 0.052, current mu = 0.000) allocation failure; GC in old space requested
 matrix-appservice-irc[895]: <--- JS stacktrace --->
 matrix-appservice-irc[895]: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 matrix-appservice-irc[895]:  1: 0xbd82d8 node::Abort() [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  2: 0xa9f27c  [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  3: 0xdf67b0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  4: 0xdf6b84 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  5: 0x1012437  [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  6: 0x10124bb  [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  7: 0x102827d v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  8: 0x1028d70 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]:  9: 0x1003e22 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 10: 0x1004f84 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 11: 0xfe4094 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 12: 0xfd42fc v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithMap(v8::internal::Handle<v8::internal::Map>, int, v8::internal::AllocationType) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 13: 0x12f5e1d v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocate(v8::internal::Isolate*, int, v8::internal::AllocationType) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 14: 0x12f5ec0 v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehash(v8::internal::Isolate*, v8::internal::Handle<v8::internal::OrderedHashMap>, int) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 15: 0x141d3b2 v8::internal::Runtime_MapGrow(int, unsigned long*, v8::internal::Isolate*) [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 matrix-appservice-irc[895]: 16: 0x1847ef6  [/nix/store/dp9wv3bsiz89fmysx2inq9rbn4jidgbp-nodejs-slim-20.10.0/bin/node]
 systemd[1]: matrix-appservice-irc.service: Main process exited, code=dumped, status=6/ABRT
 systemd[1]: matrix-appservice-irc.service: Failed with result 'core-dump'.
18:02:37
@hexa:lossy.networkhexathe machine had 4G in use, 4G cached/buffered18:03:54
@dominic_:matrix.org@dominic_:matrix.org joined the room.19:15:55
@dominic_:matrix.org@dominic_:matrix.orgHi, ich versuche meine Netxjs App nach mit nix zu bauen.19:29:57
@dominic_:matrix.org@dominic_:matrix.org
        nodejs = nodejs_20;
        appBuild = buildNpmPackage {
          src = ./.;
          npmBuild = "npm run build";
          npmPackFlags = [ "--ignore-scripts" ];
          pname = "parkfuchs";
          version = "1.6.5";
          npmDepsHash = "sha256-L4440lAbgc0U06KlzIqcnyTc5lnrH678apbraK+6mQ8=";
        };``` 
19:30:09
@dominic_:matrix.org@dominic_:matrix.orger baut die binary aber im result/bin order fehlt der next/static ordner19:30:40
@dominic_:matrix.org@dominic_:matrix.org
└── parkfuchs```
19:33:06

Show newer messages


Back to Room ListRoom Version: 6