Skip to content
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

can not start docker padloc pwa DeprecationWarning: Compilation.assets #719

Open
han2291 opened this issue Aug 6, 2023 · 5 comments
Open

Comments

@han2291
Copy link

han2291 commented Aug 6, 2023

hello nice project
I am trying to run the padloc pwa application in docker, for this I am hosting the container on to Ubuntu server 22.04.1 LTS, however the container padloc/pwa starts but immediately ends with the following log:

@padloc/pwa@4.3.0 build
webpack
(node:18) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications > are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
(Use node --trace-deprecation ... to show where the warning was created)
47 assets
929 modules
webpack 5.52.0 compiled successfully in 31363 ms

I would like if anyone has a solution
Any thoughts will be greatly appreciated.

Best

@han2291 han2291 changed the title can not estart docker padloc pwa DeprecationWarning: Compilation.assets can not start docker padloc pwa DeprecationWarning: Compilation.assets Aug 6, 2023
@JamieDerg
Copy link

Im currently Experiencing the Same Issue.

Prevents me from self hosting

@BrunoBernardino
Copy link
Contributor

Hi @han2291 and @JamieDerg that is a warning and shouldn't stop anything from working. Are you sure that's the error you're seeing and not something else? Could you post the full server and browser console logs?

@larshg
Copy link

larshg commented Sep 21, 2023

@han2291 What docker compose file do you use?

@CLKRUN
Copy link

CLKRUN commented Nov 30, 2023

same here using the basic example from here https://github.com/padloc/padloc/tree/main/docs/examples/hosting/docker.
Just seeing white background with a loading circle in the middle of the screen.
Edit: The pwa Container crashes after successful build. For NGIX and CADDY do we need the command: ["build"] in pwa?

@MissingDLL
Copy link

You have to replace the localhost with the ip of the server hosting your containers. That solved my issue. But ran into the next ( cant complete account creation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants