Comments (2)
Looks like I found a workaround with
import { UserStatus } from "@prisma/client/edge";
This needs further testing. Still think that the error should not happen when import uses only @prisma/client
. Can you please investigate?
from prisma.
After making the workaround change, the project could be deployed to Vercel but an infinite loop was discoverd on Link
elements within remix. That issue was solved by changing the vite config as such:
export default defineConfig({
(...)
resolve: {
alias: {
'.prisma/client/index-browser': './node_modules/.prisma/client/index-browser.js',
'.prisma/client/edge': './node_modules/.prisma/client/edge.js',
},
},
})
from prisma.
Related Issues (20)
- Why can't I access password in user? (ORM) (Postgres-Supabase)
- binaries.prisma.sh Returns 404 Not Found Error
- Introduce `connectOrSkip` for optional `connect` operations HOT 2
- Creating and including a related object returns trimmed numbers with `relationJoins`
- `wasm-edge-light-loader.js` importing `node:crypto` instead of using `globalThis.crypto` HOT 11
- Insert or update an item without returning it HOT 3
- Performance problems with batched `findUnique()` HOT 6
- Can't use Prisma Client in Next.js middleware with `@prisma/adapter-pg` and `pg`, even locally HOT 9
- Docs include incorrect information regarding Vercel deployment fix HOT 2
- Add support for `pre`/`post` validation hooks in Prisma schema HOT 3
- Introspecting error with "Microsoft SQL Server 2019" database HOT 1
- Batched `findUnique()` is not chunked and exceeds parameter binding limits HOT 2
- Gin/Gist index operator classes brought in via PostgreSQL extensions
- Accelerate: "Invalid client engine type, please use `library` or `binary`" on Edge HOT 18
- Undefined "meta" when handling "PrismaClientKnownRequestError"
- Queries are getting executed sequentially even when using Interactive transactions API using Promise.all(). HOT 2
- Webstorm does not support prisma 5.15.0 version of preview functionality
- Is the time taken by a complex query in sql run using queryRaw and normal raw sql query the same or does Prisma have to run anything under the hood?
- `update`: Compile-time error is missing if suppliying non-objects to `data` argument
- Add full MongoDB queries to query spans
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 prisma.