You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bun install
bun install v1.2.13 (64ed68c9)
🔍 @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining [3467/3900
$ npm --prefix e2e install
/nix/store/1q9lw4r2mbap8rsr8cja46nap6wvrw2p-bash-interactive-5.2p37/bin/bash: line 1: npm: command not found
error: postinstall script from "@home-gallery/mono-repo" exited with 127
I think this is the only problem which requires at the moment to use node, I am pretty sure that this can be fixed to support bun/deno as well.
edit: it looks like we need edit package.json for it to work, still trying to fix it.
thank you for reporting your idea using bun or deno.
npm --prefix e2e install is required for the ./e2e directory to run end-to-end test using gauge testing framework. So it is basically only used for development and quality assurance.
To overcome this step maybe this can be fixed by a custom js script which execute npm conditionally if available and if not the e2d tests could not be executed... Does this makes sense?
Another curious question: What is your purpose to run HomeGallery via bun or deno? I guess the most popular use case is to run it as docker container where the js runtime is an implementation detail or as binary for non tec affine people. So what is your benefit running it with bun?
The benefit of running it with bun is that bun is a faster framework than node in a lot of scenarios and I personally looked into some parts of code and it seems that it converts .ts and .tsx into a single .js file but bun supports .ts and .tsx natively.
Bun is also faster than pnpm in terms of installation and I like the developer experience bun provides. And bun can also be compiled into a single binary (fun fact, it can also be compiled to bytecode for faster startup time)
Again, I also like to see how bun stands in the node ecosystem and how much it can replace node directly and there are only a few projects which don't work that way and so I kind of wish that if these projects could also use it. Then it would be really great for the future.
Activity
xemle commentedon Jun 6, 2025
Hi @SerJaimeLannister
thank you for reporting your idea using bun or deno.
npm --prefix e2e installis required for the./e2edirectory to run end-to-end test using gauge testing framework. So it is basically only used for development and quality assurance.To overcome this step maybe this can be fixed by a custom js script which execute npm conditionally if available and if not the e2d tests could not be executed... Does this makes sense?
Another curious question: What is your purpose to run HomeGallery via bun or deno? I guess the most popular use case is to run it as docker container where the js runtime is an implementation detail or as binary for non tec affine people. So what is your benefit running it with bun?
SerJaimeLannister commentedon Jun 7, 2025
The benefit of running it with bun is that bun is a faster framework than node in a lot of scenarios and I personally looked into some parts of code and it seems that it converts .ts and .tsx into a single .js file but bun supports .ts and .tsx natively.
Bun is also faster than pnpm in terms of installation and I like the developer experience bun provides. And bun can also be compiled into a single binary (fun fact, it can also be compiled to bytecode for faster startup time)
Again, I also like to see how bun stands in the node ecosystem and how much it can replace node directly and there are only a few projects which don't work that way and so I kind of wish that if these projects could also use it. Then it would be really great for the future.