Turbopack & sharp on Vercel
Unanswered
Argentine hake posted this in #help-forum
Argentine hakeOP
So i got a lot of problem lately with sharp and turbopack.
⨯ TypeError: sharp._isUsingX64V2 is not a function
at Module.<anonymous> (../../opt/rust/bytecode.js:2:1435)
at A.l._compile (../../opt/rust/bytecode.js:2:3160)
at <unknown> (../../opt/rust/nodejs.js:2:12523)
at Function.Cr (../../opt/rust/nodejs.js:2:12901)
at Pe.e.<computed>.He._load (../../opt/rust/nodejs.js:2:12493) {
page: '/api/invoices/create-send'
}
This is my recent error in deployed app. Simply when the api route runs there is this error. No build errors. Open for help 🙏🏻
⨯ TypeError: sharp._isUsingX64V2 is not a function
at Module.<anonymous> (../../opt/rust/bytecode.js:2:1435)
at A.l._compile (../../opt/rust/bytecode.js:2:3160)
at <unknown> (../../opt/rust/nodejs.js:2:12523)
at Function.Cr (../../opt/rust/nodejs.js:2:12901)
at Pe.e.<computed>.He._load (../../opt/rust/nodejs.js:2:12493) {
page: '/api/invoices/create-send'
}
This is my recent error in deployed app. Simply when the api route runs there is this error. No build errors. Open for help 🙏🏻
4 Replies
Spectacled bear
Are you getting the same issue on local build?
Argentine hakeOP
Building in general works and the code runs locally yes.
Ah you mean. Building locally and testing this build?
Spectacled bear
Yes, build locally and test if this works.