Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barbapapazes/nuxt-hub-raw-sql
Reproduction
https://github.com/barbapapazes/nuxt-hub-raw-sql
Last synced: 1 day ago
JSON representation
Reproduction
- Host: GitHub
- URL: https://github.com/barbapapazes/nuxt-hub-raw-sql
- Owner: Barbapapazes
- Created: 2024-04-30T20:15:06.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-30T20:28:47.000Z (8 months ago)
- Last Synced: 2024-12-20T11:13:00.912Z (3 days ago)
- Language: TypeScript
- Homepage: https://github.com/nuxt-hub/feedback/issues/15
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Reproduction for an issue related to NuxtHub when using raw SQL for migrations.
In order to reproduce:
- Clone the repository
- Install dependencies with `pnpm install`
- Run the application with `pnpm run dev`
- Open your browser and check your console for the error```bash
ERROR [nitro] [unhandledRejection] D1_EXEC_ERROR: Error in line 1: CREATE TABLE IF NOT EXISTS todos (: incomplete inputat process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at (server/plugins/migrations.ts:5:1)
at async Promise.all (index 0)
at (node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected]_@[email protected]_@uno_v6ufku3kw6jhvrpovvvt7rg5kq/node_modules/@nuxthub/core/dist/runtime/ready.dev.mjs:5:3)
```---
I strictly follow this page: https://hub.nuxt.com/docs/recipes/hooks.