https://github.com/prisma/test-nuxt-prisma-module
https://github.com/prisma/test-nuxt-prisma-module
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prisma/test-nuxt-prisma-module
- Owner: prisma
- Created: 2024-06-05T14:42:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-05T14:42:46.000Z (about 2 years ago)
- Last Synced: 2026-01-15T15:38:24.037Z (5 months ago)
- Language: Vue
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testing @prisma/nuxt module
1. Install dependencies:
```bash
npm install
```
2. Start the dev server and type in `y` to agree to all the prompts:
```bash
npm run dev
```
3. Go to http://localhost:3000 and check the browser console for the following error:
```bash
prisma.mjs:1 Uncaught SyntaxError: The requested module '/_nuxt/node_modules/@prisma/client/index-browser.js?v=4086a8c0' does not provide an export named 'PrismaClient' (at prisma.mjs:1:10)
```