-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add deno cache --cached-only #28144
Comments
This combination makes no sense - if you pass |
It makes sense if you populate npm cache manually , basically it works like this:
why not just put the npm inside the project vendor folder directly: You can see what I'm doing here https://github.com/flathub/flathub/pull/6177/files In reality its hacks on top of hacks, I'm not really sure if its a real use case, but currently its the only way I found to make deno + slint work inside flatpak, if deno compile worked for napi I wouldn't have needed this but its the current state of affair |
I managed to make deno compile with slint inside the flatpak , you can checkout the latest version here https://github.com/flathub/flathub/pull/6177/files It took working around #28129 and #23266 Also it would be great if deno becomes more flatpak friendly, the issue is in flatpak build system all dependencies needs to be declared you can't just download them, for node there is https://github.com/flatpak/flatpak-builder-tools/tree/master/node/flatpak_node_generator I can make something similar by parsing deno.lock, but the problem is where to put the fetched dependencies, I see that I have two choices
|
I was about going to close this because I found that there is |
I'm using deno in a flatpak app, and I needed this, currently the workaround I'm using is deno compile --cached-only but that's weird
The text was updated successfully, but these errors were encountered: