-
-
Notifications
You must be signed in to change notification settings - Fork 675
Could not locate the bindings file with nuxt cli #3249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Any updates on this issue? |
I believe you are using pnpm@10. In pnpm@10, there is a breaking/security change that prevents package scripts from being executed. Run |
Issue: Cannot Start Nuxt with @nuxt/contentSteps to reproduce:
Error:
|
@jordyfontoura Try removing |
Tried deleting node_modules and For now it's probably easiest to downgrade to pnpm9 and run Perhaps it could be mentioned in the docs? |
This happens with Bun workspace too. (If not using workspace, it works fine)
Step to reproduce
|
I have the same issue with pnpm v10. Try |
For NPM users, switching to the latest node version (22.14.0) fixed the issue! |
No, 22.14.0 and npm still broken here. |
If you are using node 22, try using the experimental SQLite connector. defineNuxtConfig({
content: {
experimental: { nativeSqlite: true }
}
}) Better Sqlite 3 requires a native binary to operate, and this cause some issues in different environments. Using native sqlite is the futuristic solution that is in experimental mode. |
experimental nativeSqlite feature seems not work for me. Nuxt still cannot start without better-sqlite3 binding. I'm using node v22.11.0 on Windows. |
@farnabaz Thanks, your suggestion for experimental sqlite fixed it for us. See https://content.nuxt.com/docs/getting-started/configuration#experimentalnativesqlite |
Environment
Version
v3
Reproduction
npx nuxi@latest init
Description
When running the dev server with


pnpm dev
there is amissing bindings error
withbetter-sqlite
Tried
Also
content.config.ts
was missing so It had to be manually added.Perhaps add a default one to get started easier?
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: