You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the installation guidelines for my Nuxt 3 application, and when I add the module in the nuxt.config.ts, I got a 500 error.
at ./pdfeasy:43798:203
at ./pdfeasy:43767:83
at ./pdfeasy:43768:5
at ./pdfeasy:12:32
at ./pdfeasy:44880:28
at ViteNodeRunner.runModule (./node_modules/vite-node/dist/client.mjs:362:11)
at ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:346:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:189:14)
at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:233:12)
Some kind of library you use is doing browser detection on the server. Worked around it with:
// nuxt.config.tsexportdefaultdefineNuxtConfig({nitro: {replace: {// replace the browser detection in a server lib'globalThis.navigator': 'undefined','global.navigator': 'undefined',},},})
I followed the installation guidelines for my Nuxt 3 application, and when I add the module in the
nuxt.config.ts
, I got a 500 error.My package.json dependencies:
Do someone know how to resolve this problem?
Cheers!
The text was updated successfully, but these errors were encountered: