You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
X [ERROR] Could not resolve "@coral-xyz/borsh"
node_modules/@coral-xyz/spl-token/dist/browser/index.js:1:363:
1 │ ...rom"bs58";import*as d from"base64-js";import h from"camelcase";import{sha256 as f}from"js-sha256";import*as p from"@coral-xyz/borsh";import{inflate as m}from"pako";import y from"eventemitter3";import*as g from"assert";const w=t=>"version"in t;fu...
╵
You can mark the path "@coral-xyz/borsh" as external to exclude it from the bundle, which will
remove this error and leave the unresolved path in the bundle.
\node_modules\esbuild\lib\main.js:1651
let error = new Error(text);
^
Error: Build failed with 1 error:
node_modules/@coral-xyz/spl-token/dist/browser/index.js:1:363: ERROR: Could not resolve "@coral-xyz/borsh"
at failureErrorWithLog (\node_modules\esbuild\lib\main.js:1651:15)
at \node_modules\esbuild\lib\main.js:1059:25
at \node_modules\esbuild\lib\main.js:1527:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: [Getter/Setter],
warnings: [Getter/Setter]
}
Node.js v20.12.1
Also, why don't you have any documents?
The text was updated successfully, but these errors were encountered:
Vite + React Project
Also, why don't you have any documents?
The text was updated successfully, but these errors were encountered: