-
-
Notifications
You must be signed in to change notification settings - Fork 150
Description
I've setup Directus on a linux instance, all set up succesfully.
When deploying the Nuxt Front-end on Vercel i got the following error:
{ "error": "true", "url": "/", "statusCode": 500, "statusMessage": "Server Error", "message": "useFiles is not defined" }
So i tried to deploy locally, by creating a copy of the source code and running it like the documentation said to, got the same error.
I even ran an instance of Directus locally, to be sure that wasn't the problem.
When running locally i got this error:
{ "error": "true", "url": "/", "statusCode": 500, "statusMessage": "Server Error", "message": "useFiles is not defined", "stack": "useFiles is not defined\nat setup (C:/Users/alex3/source/repos/agency-os/app.vue:16:25)\nat sfc_main.setup (C:/Users/alex3/source/repos/agency-os/app.vue:68:23)\nat callWithErrorHandling (C:/Users/alex3/source/repos/agency-os/node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19)\nat setupStatefulComponent (C:/Users/alex3/source/repos/agency-os/node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7848:25)\nat setupComponent (C:/Users/alex3/source/repos/agency-os/node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:7809:36)\nat renderComponentVNode (C:/Users/alex3/source/repos/agency-os/node_modules/.pnpm/@VUE[email protected][email protected][email protected]/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:645:15)\nat ssrRenderComponent (C:/Users/alex3/source/repos/agency-os/node_modules/.pnpm/@VUE[email protected][email protected][email protected]_/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:86:10)\nat default (C:/Users/alex3/source/repos/agency-os/node_modules/.pnpm/nuxt@3.16.1_@parcel+watcher@2.5.1_@types[email protected][email protected]_eslint@[email protected]__io_lqrzqqdsopzejkzz4pel7dbzhe/node_modules/nuxt/dist/app/components/nuxt-root.vue:77:59)\nat ssrRenderSuspense (C:/Users/alex3/source/repos/agency-os/node_modules/.pnpm/@VUE[email protected][email protected][email protected]_/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:485:5)\nat sfc_ssrRender (C:/Users/alex3/source/repos/agency-os/node_modules/.pnpm/[email protected]@parcel+watcher@2.5.1_@types[email protected][email protected]_eslint@[email protected]__io_lqrzqqdsopzejkzz4pel7dbzhe/node_modules/nuxt/dist/app/components/nuxt-root.vue:66:46)" }
I Followed the documentation exactly, and i followed the tutorial video's but still... got this exact error.