Nix NodeJS | 206 Members | |
| 58 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Jan 2024 | ||
(you also don't seem to need --ignore-scripts to get it to build fine, either. i confirmed i could run the appium workspace package's index.js as well after building) | 12:36:47 | |
In reply to @lily:lily.flowersoh, thats weird i'll tell you the versions in a moment | 12:37:18 | |
(it looks like specifying npmWorkspace = "packages/appium" doesn't work as intended because they specify their build scripts at the top-level because they use lerna and so trying to build it as a workspace with npm seems to do Bad Things. but you should be able to manually add the wrapping in postInstall i guess) | 12:40:45 | |
* (it looks like specifying npmWorkspace = "packages/appium" doesn't work as intended because they specify their build scripts at the top-level because they use lerna and so trying to build it as a workspace with npm seems to do Bad Things (or rather just not do the build step). but you should be able to manually add the wrapping in postInstall i guess) | 12:41:02 | |
| i used npm 9.8.1 | 12:42:57 | |
| hmm, let me retry with that one and see if i can replicate your lockfile | 12:44:34 | |
| what was the exact npm command you were using? | 12:45:24 | |
| just npm install iirc | 12:45:39 | |
i just retried with npm install --package-lock-only --ignore-scripts and the entry without resolved/integrity is also there | 12:47:51 | |
| okay i've got a few months old nixpkgs revision so i can try npm 9.8.1, but i still can't replicate what you're getting. idk if you need to clear both npm cache and node_modules (instead of just node_modules) or what :/ | 13:01:39 | |
| fwiw btw, here's a derivation i'm using that makes a seemingly-usable
| 13:02:48 | |
In reply to @lily:lily.flowersyeah even deleting my ~/.npm and node_modules and package-lock.json locally and doing npm install --package-lock-only --ignore-scripts with 9.8.1 still gets a working lockfile for me... | 13:05:45 | |
| weird, i'll try this on another machine | 13:06:02 | |
| * fwiw btw, here's a derivation i'm using that makes a seemingly-usable
| 13:06:14 | |
| it works fine on another machine with latest nodejs from nixos-23.11 (also 9.8.1) | 13:28:43 | |
| How come pnpm doesnt have tooling yet? | 15:20:26 | |
| Bun tooling would be really nice too lol | 15:20:32 | |
| there's no blockers besides someone actually doing it | 15:20:52 | |
| \* not just doing it once though, maintaining any new build tool(s) is also required to be done by someone (else). | 15:23:29 | |
| * \* not just doing it once though, maintaining any new build tool(s) is also required to be done by someone (else, possibly). | 15:23:46 | |
| https://github.com/NixOS/nixpkgs/pull/265771 | 15:46:37 | |
| nightmare blunt pr | 15:46:40 | |
| it still doesnt build ðŸ˜so if anyone wants to help haha | 15:47:01 | |