johnk
Explore posts from serversHow would I listen for a websocket message in Nuxt 3, for user initiated notifications to users?
Hello, as the title described, I have a websocket server, and I would like users to send notifications to eachother and listen for notifications. How would I do this? There's not any utilities I can use in a typical nuxt plugin. Thank you!
3 replies
Type is completely ignored in generated mjs, causes Nuxt #imports issues
Hello, I am using nuxt-open-fetch and all was going well. However it randomly started breaking, and I found out it is because the OpenFetchClient type is completely ignored in the generated .mjs. First, in the nuxt console, I get this error
, then in the browser console I get this error . In the server it has the proper export of , but in the browser, fetch.mjs has the content of just What do I do to make sure OpenFetchClient is kept in the generated .mjs?
2 replies
CCoder.com
•Created by johnk on 7/23/2024 in #help
Coder docker container works on N4 Google Compute instance but no longer C4
Hello, I have been using coder a ton lately and it's been amazing! I have been using the C4 instance for a few weeks, then recently (within the last few days) used N4 instead. In that time, it appears coder's docker template has become incompatible.
To reproduce:
1. Create c4-standard-8 machine
2. Run the following commands
2.a
sudo apt install docker.io
2.b sudo usermod -aG docker ${USER}
2.c sudo chmod 666 /var/run/docker.sock
2.d curl -L https://coder.com/install.sh | sh
2.e coder server
3. Open coder, login, and create a workspace using the docker template, you will notice it hangs at docker_image.main: Still creating.
forever.
if you find the dockerfile and manually run it with docker build . -t test:1
you will see it's an endless loop of this
None of this happens for N4 or others. How do I fix this?4 replies
PPrisma
•Created by johnk on 6/20/2024 in #help-and-questions
Prisma Nuxt RollupError
Hello, I am trying to use @prisma/nuxt, but after installation and when I run
npm run dev
, it results in the error
Does anyone have any ideas?8 replies