Just Simeon
what is the requireJs alternative?
I have a dependency called videojs that needs global/window.
however that doesn't exist and I found an issue (https://github.com/videojs/video.js/issues/5680#issuecomment-570120497) that shows a fix but it requires requirejs.
8 replies
$fetch not working with the new shared folder properly
I have a composable in my shared folder that uses $fetch to query nitro endpoints. However for some reason it says
"/api/v1/data/agents": <no response> Failed to parse URL from /api/v1/data/agents
14 replies
Loading Icon Timed out
Hello, I have this component:
that dynamically adds topics and buttons to my page. it works fine, however when opening the page I get this:
[Icon] loading icon
heroicons:play timed out after 500ms
and the buttons don't have an icon.
What can I do to fix it?10 replies
Weird Error without stacktrace
Hello, I am trying to upload a file using google's storage library. However whenever I call the method I get this error:
ERROR [nuxt] [request error] [unhandled] [500] Cannot read private member from an object whose class did not declare it
I am following google's docs to properly upload the file and can't spot something off. Here is my code:
the 3 console.logs are being execute properly and their output is also correct.5 replies
Deployment on Cloud Run
Hey so I tried following this guide: https://cloud.google.com/run/docs/quickstarts/frameworks/deploy-nuxtjs-service to deploy my nuxt 3 app to cloud run. while building the image worked flawlessly, clod run tries to execute "yarn start" in order to start the app. It appears something has changed since this guide was made and I will need some assistance to get it running. I am using Nuxt with the v4-compat template and the ui module. so far nothing has been added to the app.
5 replies
Expose endpoints only internally
Hey, for our use-case I would like to prevent users from directly accessing the API. I would like to make it so only nuxt is able to access the nitro endpoints and return a 403 if someone directly tries to access them.
2 replies
how to get the Content-Disposition header
Hello, in the script section of my page I am getting a file from by spring Backend. its a blob response and I need the file name, however the content-disposition is not exposed in the $fetch response. Also using $fetch.raw doesn't help.
2 replies
Help with exporting composable from Custom Module [Still need help]
Hey so I am working on a Nuxt 3 Module that adds support for Neo4J.
I have come pretty far and the Module is on npm and also on github https://github.com/DerSimeon/NeoNuxt
Unfortunately when I try to use it, I get this error:
Package subpath './dist/runtime/server/composables/NeoDriver' is not defined by "exports" in G:\Project X\Web\apply\node_modules\neonuxt\package.json imported from G:\Project X\Web\apply\.nuxt\dev\index.mjs
Does anyone know how to fix it?32 replies