!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

208 Members
59 Servers

Load older messages


SenderMessageTime
12 Nov 2023
@lily:lily.flowersLily Foster(i'm gonna diff them myself, but be filtering out changes that don't matter iteratively)13:54:00
@peter-lustig:matrix.orgpeter-lustig
In reply to @lily:lily.flowers
(i'm gonna diff them myself, but be filtering out changes that don't matter iteratively)
alright, what linux tool should i use to zip them
13:54:20
@lily:lily.flowersLily Foster tar -czf file.tar.gz build? idk 13:55:24
@lily:lily.flowersLily Fosterwhatever you feel most comfortable with13:55:31
@lily:lily.flowersLily Foster(as long as it isn't rar....)13:55:35
@peter-lustig:matrix.orgpeter-lustigok i dm them to you14:00:16
@peter-lustig:matrix.orgpeter-lustig done Lily Foster 14:01:26
@lily:lily.flowersLily Foster i can't actually node . either of them. so i guess the package.json is important after all idk 14:03:20
@peter-lustig:matrix.orgpeter-lustigdioes it give you the same error14:03:41
@peter-lustig:matrix.orgpeter-lustigsas for me14:03:43
@lily:lily.flowersLily Fosteryes14:03:44
@peter-lustig:matrix.orgpeter-lustigi mean the sveltekit docs say something about the package and package-lock14:04:00
@peter-lustig:matrix.orgpeter-lustigbut i do not really think i need to copy them14:04:07
@peter-lustig:matrix.orgpeter-lustigsomehow14:04:08
@lily:lily.flowersLily Fosteri highly doubt lock is necessary?14:04:11
@lily:lily.flowersLily Fosterbut package.json is because of the way this appears to work14:04:25
@lily:lily.flowersLily Fosteras an ES module14:04:35
@peter-lustig:matrix.orgpeter-lustigok i try to copy package.json to $out14:04:36
@peter-lustig:matrix.orgpeter-lustig ok Lily Foster looking better now with package.json included 14:06:07
@peter-lustig:matrix.orgpeter-lustigmore specfic error14:06:10
@peter-lustig:matrix.orgpeter-lustig

says Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@lucia-auth/adapter-postgresql' imported from /nix/store/44bhywpwnrvcd7smgw92ak3nr9f8h26h-build-myapp-application/server/chunks/hooks.server-b844ff7f.js.

Maybe I do need to include the lock file

14:06:41
@lily:lily.flowersLily Foster okay so it does need node_modules then i guess 14:07:25
@lily:lily.flowersLily Fosternot lockfile though14:07:30
@lily:lily.flowersLily Fosteridk why the sveltekit docs say that14:07:34
@lily:lily.flowersLily Fosterwell i mean you can include it14:07:50
@peter-lustig:matrix.orgpeter-lustig
In reply to @lily:lily.flowers
okay so it does need node_modules then i guess

says this in the docs

You will need the output directory, the project's package.json, and the production dependencies in node_modules to run the application

14:07:51
@lily:lily.flowersLily Fosteri guess it wouldn't hurt14:07:52
@peter-lustig:matrix.orgpeter-lustigso I just copy node modules as well?14:08:00
@lily:lily.flowersLily Fosteri suppose14:08:03
@peter-lustig:matrix.orgpeter-lustigok works now lmao14:08:44

Show newer messages


Back to Room ListRoom Version: 6