Conversation
|
Also, I'm not facing the |
|
how do you test? using vscode locally or using something like codespaces? |
Currently, I'm testing using codespaces. I'm facing an issue where the frontend crashes right after startup, I've tried to change the logging level to |
|
got it working without crashing, only thing left is fix the CORS & WSS issues:
|
|
nuxt has an https/ssl mode somewhere iirc |
sadly this is the only way of getting this to work.
it's attempting to connect to localhost:24678, but the codespaces syntax includes the port in the host, might need to manually override this, as it's preventing hmr from working at all.
|
Not working because of the way Codespaces exposes ports (in the hostname, not as an "real" port), I had to change this in -- const socketHost = `${__HMR_HOSTNAME__ || importMetaUrl.hostname}:${hmrPort || importMetaUrl.port}${__HMR_BASE__}`;
++ const socketHost = `${__HMR_HOSTNAME__ || importMetaUrl}${__HMR_BASE__}`;This could be fixed by forking the module, or by applying an patch. Even if we set |
needs fixing: http proxy error:Error: write EPROTO 00178A8AFB7E0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:355
76d89e7 to
9447453
Compare
3ebf577 to
10ca982
Compare
fc0b077 to
85e8923
Compare



Allows the quick creation of GitHub Codespaces & others that support devcontainers by adding an
.devcontainers/devcontainer.jsonfile containing port labelling, VSCode extensions, and the required features to get an bare-bones Hangar application working (database and email Docker containers, Maven dependencies for the backend application and PNPM dependencies for the frontend), which are setup by anpost-create.shShell script. This allows developers to get coding faster, rather than spend time setting up their development environments.