| 22 Dec 2023 |
thiloho | * 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 |
| sero joined the room. | 14:28:56 |
sero | 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 |
Cobalt | 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 changed their display name from raitobezarius to raitobezarius (DECT 2128). | 22:22:37 |
| 24 Dec 2023 |
Sandro 🐧 | 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 joined the room. | 12:56:16 |
| 29 Dec 2023 |
hexa | how shitty is the v8 gc? | 18:02:30 |
hexa | 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 | the machine had 4G in use, 4G cached/buffered | 18:03:54 |
| @dominic_:matrix.org joined the room. | 19:15:55 |
@dominic_:matrix.org | Hi, ich versuche meine Netxjs App nach mit nix zu bauen. | 19:29:57 |
@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 | er baut die binary aber im result/bin order fehlt der next/static ordner | 19:30:40 |
@dominic_:matrix.org | └── parkfuchs```
| 19:33:06 |
@dominic_:matrix.org | * └── parkfuchs
```
| 19:33:11 |
@dominic_:matrix.org | * └── parkfuchs
| 19:33:20 |
@dominic_:matrix.org | * result/bin/
└── parkfuchs | 19:33:35 |
Wanja Hentze | gibts im result/ Ordner sonst irgendwas? | 19:36:01 |
@dominic_:matrix.org | In reply to @whentze:matrix.org gibts im result/ Ordner sonst irgendwas? nein | 19:36:09 |
Wanja Hentze | rip | 19:36:32 |
@dominic_:matrix.org | In reply to @whentze:matrix.org gibts im result/ Ordner sonst irgendwas? * nein, warte doch lib/node_modules | 19:36:37 |
@joepie91:pixie.town | In reply to @hexa:lossy.network how shitty is the v8 gc? not really; that error basically means that it couldn't find anything eligible for garbage collection (and ran out of allowed memory), even after a full GC cycle, and that usually means there is a memory leak in the application | 19:36:42 |
Wanja Hentze | vielleicht musst du die InstallPhase erweitern | 19:36:55 |
Wanja Hentze | um den static Ordner auch nach $out zu kopieren | 19:37:16 |
@joepie91:pixie.town | (note that V8 has its own heap size limit independent of the system memory; that can be controlled through v8 flags) | 19:37:53 |
@janne.hess:helsinki-systems.de | In reply to @whentze:matrix.org um den static Ordner auch nach $out zu kopieren ¿Donde está el support español? | 19:43:39 |
@janik0:matrix.org | In reply to @dominic_:matrix.org Hi, ich versuche meine Netxjs App nach mit nix zu bauen. yeah would be pretty nice if you could ask in english since most of the nixos channels are international | 19:44:57 |
Wanja Hentze | désolé, c'est le support francophone nix nodejs, comment puis-je vous aider? | 19:47:46 |
@janne.hess:helsinki-systems.de | In reply to @whentze:matrix.org désolé, c'est le support francophone nix nodejs, comment puis-je vous aider? Je m'appelle Emanuel Macron | 19:50:02 |