N
Nuxt4mo ago
xtraKrazy

Cloudflare Turnstile

Is anyone using Cloudflare Turnstile with the @nuxtjs/turnstile module? I installed everything as per the instructions, but its giving me a really unhelpful Nuxt error. Any pointers would be much appreciated! I have installed @nuxt/scripts. As soon as I remove @nuxtjs/turnstile the error goes away. I have all the documented config in my nuxt.config.js file.
500

Cannot read properties of undefined (reading 'debug')

at Object.handler (G:\Codestack Pty Ltd\jvconstructions-nuxt3-storyblok-website\node_modules\nuxt-site-config\dist\runtime\nitro\middleware\init.mjs:12:19)
at /G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/h3/dist/index.mjs:1975:31
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.callAsync (/G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/unctx/dist/index.mjs:72:16)
at async toNodeHandle (/G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/h3/dist/index.mjs:2266:7)
at async ufetch (/G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/unenv/runtime/fetch/index.mjs:9:17)
at errorhandler (G:\Codestack Pty Ltd\jvconstructions-nuxt3-storyblok-website\node_modules\nuxt\dist\core\runtime\nitro\error.js:37:41)
at async Server.toNodeHandle (/G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/h3/dist/index.mjs:2274:9)
500

Cannot read properties of undefined (reading 'debug')

at Object.handler (G:\Codestack Pty Ltd\jvconstructions-nuxt3-storyblok-website\node_modules\nuxt-site-config\dist\runtime\nitro\middleware\init.mjs:12:19)
at /G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/h3/dist/index.mjs:1975:31
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.callAsync (/G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/unctx/dist/index.mjs:72:16)
at async toNodeHandle (/G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/h3/dist/index.mjs:2266:7)
at async ufetch (/G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/unenv/runtime/fetch/index.mjs:9:17)
at errorhandler (G:\Codestack Pty Ltd\jvconstructions-nuxt3-storyblok-website\node_modules\nuxt\dist\core\runtime\nitro\error.js:37:41)
at async Server.toNodeHandle (/G:/Codestack%20Pty%20Ltd/jvconstructions-nuxt3-storyblok-website/node_modules/h3/dist/index.mjs:2274:9)
Package versions:
"@nuxt/scripts": "^0.6.6",
"@nuxtjs/turnstile": "^0.9.3",
"nuxt": "^3.12.1"
"@nuxt/scripts": "^0.6.6",
"@nuxtjs/turnstile": "^0.9.3",
"nuxt": "^3.12.1"
1 Reply
xtraKrazy
xtraKrazyOP4mo ago
I believe I have solved the issue, looks like there was a big fixed in @nuxt/nuxt 3.12.2 that solved the issue.
Want results from more Discord servers?
Add your server