-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
TypeError: kit.addServerMiddleware is not a function
Describe the bug
Clould'nt start nuxt dev server.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Create Nuxt 2 project with the nuxt-app with
? Programming language: TypeScript
? Package manager: Yarn
? UI framework: Vuetify.js
? Template engine: HTML
? Linting tools: ESLint, Prettier
? Testing framework: Jest
? Rendering mode: Single Page App
? Deployment target: Static (Static/Jamstack hosting)
? Development tools: jsconfig.json (Recommended for VS Code if you're not using typescript)
- Add this package to the project and add nuxt-supabase module to
nuxt.config.js.

- Run the
yarn run dev - See error
Expected behavior
I expected to run the nuxt server corectlly.
Screenshots
System information
- OS: Ubuntu 20.04 LTS
- Version of nuxt-supabase: ^2.3.1
- Version of Node.js: v16.14.0
Additional context
I guess the problem happend from
Lines 38 to 41 in 271db1b
| addServerMiddleware({ | |
| path: "/api/auth", | |
| handler: authHandler(resolvedOptions), | |
| }); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
