-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Describe the bug
When using the auth module on Nuxt 3, which runs on Rollup and Vite, the following error will come up:
Uncaught (in promise) TypeError: (0 , import_defineToJSON.default) is not a function
at node_modules/graphql/language/parser.mjs (@8base_auth.js:17154:37)
at __init (chunk-6DBBYCL5.js:16:56)
at node_modules/graphql-prettier/lib/index.js (@8base_auth.js:17728:20)
at __require2 (chunk-6DBBYCL5.js:19:50)
at node_modules/@8base/utils/dist/queryGenerators/queryGenerators.js (@8base_auth.js:18088:46)
at __require2 (chunk-6DBBYCL5.js:19:50)
at node_modules/@8base/utils/dist/queryGenerators/index.js (@8base_auth.js:18370:18)
at __require2 (chunk-6DBBYCL5.js:19:50)
at node_modules/@8base/utils/dist/index.js (@8base_auth.js:18517:18)
at __require2 (chunk-6DBBYCL5.js:19:50)
To Reproduce
Clone this repo, install dependencies and run npm run dev: https://github.com/jerryjappinen/8base-auth-parser
The dev server build will break, and app will not mount (empty screen).
Expected behavior
App should build without errors and print a list of authentication strategies imported from the module.
Desktop
macOS, Chrome
Additional context
More discussion here: https://community.8base.com/t/cant-get-8base-auth-to-work/861/5
Metadata
Metadata
Assignees
Labels
No labels
