Nix NodeJS | 203 Members | |
| 58 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Nov 2023 | ||
| Sorry i'm not great at explaining rn :( | 23:07:45 | |
In reply to @lily:lily.flowersCould you maybe help me later? I also have some more questions | 23:08:40 | |
| Because I worked for too long today, tired | 23:08:51 | |
| Sure! Later is fine | 23:08:58 | |
| (assuming later means tomorrow, that'll probably be better for me too) | 23:09:07 | |
| yes :) | 23:09:18 | |
| I ping you then, thanks | 23:09:22 | |
In reply to @janne.hess:helsinki-systems.de
Hmmmm it really doesn't like this and assumes it's a tarball url i think? https://github.com/dasJ/broken-npm-test/blob/8c6d8ed9b180a66a81b133f68bf467e12bcbe3be/package-lock.json#L2817 | 23:18:12 | |
| i'll try to look at it later and might have a fix | 23:18:27 | |
| ah didn't spot that | 23:22:55 | |
| strange | 23:23:01 | |
| i mean if it's a genuine format npm puts stuff in, i guess we should support it | 23:24:45 | |
In reply to @lily:lily.flowersI have no idea but I assume a very old npm does out that in. It's an internal project from another company that I'm packaging so I cannot give any more information on how that file was produced | 23:37:53 | |
| * In reply to @lily:lily.flowers i mean if it's a genuine format npm puts stuff in, i guess we should support it I have no idea but I assume a very old npm does out that in. It's an internal project from another company that I'm packaging so I don't have any more information on how that file was produced | 23:38:09 | |
| it's package aliasing and valid syntax: https://docs.npmjs.com/cli/v10/using-npm/package-spec#aliases | 23:42:48 | |
| do you think you could open a nixpkgs issue about it and assign to me so i don't forget? @[Janne Heß] | 23:43:21 | |
| this is where that version spec came from btw: https://github.com/vuejs/vue-cli/blob/ff24edb66361a504446a141525f9981bf34e8931/packages/%40vue/cli-service/package.json#L83 | 23:45:32 | |
| * this is where that version spec came from btw: https://github.com/vuejs/vue-cli/blob/v4.5.4/packages/%40vue/cli-service/package.json#L83 | 23:45:47 | |
| 11 Nov 2023 | ||
In reply to @lily:lily.flowersCould you help me what do you mean by this? Also you mentioned that I should be not link node_modules but without it it fails on the unlink error. | 05:57:31 | |
| I was digging more into the source code, and I noticed there is a mkYarnWorkspace this what are you referring to? | 08:22:08 | |
| Okay Lily Foster I got further with my buildNpmPackage | 14:48:22 | |
| It now produces what I want | 14:48:29 | |
| now just comes the server part i guess | 14:52:08 | |
In reply to @szucsitg:matrix.orgcan you ping me in like 5 hours? i'm running an event at the moment, but can help later | 15:46:43 | |
In reply to @lily:lily.flowersI appreciate your time that you are trying to help me. I'm happy to learn from you, but I won't be online for long today as it's almost 10 PM. If you can provide any advice I'll follow up on it, how I should do it properly. However besides that there's 0 documentation around mkYarnWorkspace there's not many project on GitHub that uses it. I haven't tried it yet though. | 20:51:47 | |
| ok Lily Foster, I am now a bit confused. I somehow need nginx and the systemd service, but how does this work? This is what I have now:
| 21:49:54 | |
| the systemd servie runs that node build, but nginx does not | 21:50:24 | |
In reply to @peter-lustig:matrix.orgWhy should the nginx service run the node build command? | 21:51:19 | |
In reply to @c0ba1t:matrix.orgthat is the command I need to run the application | 21:51:31 | |
| start the app | 21:51:39 | |