Open dillondotzip opened 1 year ago
the same issue with pull action in Node.js v19.4.0, on Raspberry Pi 4
Same error using:
bunx --bun drizzle-kit push:sqlite
bun: 1.0.11
drizzle-kit: v0.20.2
drizzle-orm: v0.29.0
After deleting node_modules folder and installing dependencies with yarn command works as expected:
yarn drizzle-kit push:sqlite
Run bun pm untrusted
Output:
[0.20ms] ".env"
bun pm untrusted v1.1.3 (2615dc74)
./node_modules/better-sqlite3 @9.5.0
» [install]: prebuild-install || node-gyp rebuild --release
./node_modules/esbuild @0.19.12
» [postinstall]: node install.js
./node_modules/@esbuild-kit/core-utils/node_modules/esbuild @0.18.20
» [postinstall]: node install.js
These dependencies had their lifecycle scripts blocked during install.
If you trust them and wish to run their scripts, use `bun pm trust`.
Resolve problem
bun pm trust --all
Output:
[0.05ms] ".env"
bun pm trust v1.1.3 (2615dc74)
esbuild [1/3]
better-sqlite3 [2/3]
esbuild [2/3]
esbuild [4/3]
./node_modules/@esbuild-kit/core-utils/node_modules/esbuild @0.18.20
✓ [postinstall]: node install.js
./node_modules/better-sqlite3 @9.5.0
✓ [install]: prebuild-install || node-gyp rebuild --release
./node_modules/esbuild @0.19.12
✓ [postinstall]: node install.js
3 scripts ran across 3 packages [647.00ms]
What version of
drizzle-orm
are you using?v0.28.6
What version of
drizzle-kit
are you using?v0.19.13
Describe the Bug
I'm trying to run
bun --bun drizzle-kit push:sqlite
but get the following error:This is my
drizzle.config.ts
file:Expected behavior
No response
Environment & setup
No response