Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 input

at 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.