Comments (2)
I'm also facing this issue right now. I was following the guide:
const db = new Database('apps.sqlite')
const query = db.query(`create table foo;`)
I get the error:
6 | const query = db.query(`create table foo;`)
^
SQLiteError: near ";": syntax error
errno: 1
at prepare (bun:sqlite:249:19)
at query (bun:sqlite:256:15)
at /home/alabhya/Desktop/quickstart/index.ts:6:15
I can't figure out what I'm doing wrong based on the error message.
from bun.
We store the byteOffset
in the SQLiteError
object, so all we need to do is add some more text
from bun.
Related Issues (20)
- 🚀 Catalog to ensure version consistency in monorepos (similar to pnpm)
- setSystemTime resets clock if parameter is a number
- Add `outfile` to `Bun.build`
- Bun.build() Basic example don't output `./out/index.js` on Windows.
- Bun v1.1.20 (ae194892) crashed HOT 2
- `Glob` is undefined, but `Bun.Glob` defined on Vite using Svelte Kit HOT 2
- Fails to run on my aarch64 router (RT-AX86U)
- fetch request form-data
- Websocket client receiving 1006 after sending 4998 close code HOT 1
- bun crashes
- no idea ? HOT 1
- `http.Agent()` keepalive not working
- Error in Bun compiler when building with --compile parameter
- Bun doesn't compile worker script in single-file executable
- `expect.toThrow()` fails with `expect.any()`
- `bun run --bun docs` fails to run package.json `docs` script HOT 2
- Bun test runner cannot find Astro generated types
- Replacing variable value causes error: Attempted to assign to readonly property.
- bun install failed HOT 2
- run `bun build --minify .\src\a.ts --compile` failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bun.