tursodatabase / tursodatabase/libsql-client-ts
Issue when deploying on a server
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 576
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
I am facing the following issue when deploying in production. The app is developed using Next.js
Tried using both the latest and next version.
⨯ [Error: Cannot find module '@libsql/linux-x64-musl'
Require stack:
- /app/node_modules/.pnpm/libsql@0.4.7/node_modules/libsql/index.js] {
code: 'MODULE_NOT_FOUND',
requireStack: [Array]
}
My package manager is pnpm and and setting public-hoist-pattern[]=*@libsql* did not help.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported production deployment and the require path in node_modules/.pnpm/libsql@0.4.7/node_modules/libsql/index.js, using pnpm and Next.js. Reproduce the missing @libsql/linux-x64-musl module error and determine the deployment configuration or package resolution involved; done means the production app starts without this module-not-found failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, typescript
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100