Unable to run V2.0.0-beta.1 on Mac M1 Pro #8858
-
I've followed the https://beta.tauri.app guide on starting a project but I'm consistently facing the same error regardless of the JS package manager I pick(bun/pnpm/npm/yarn). Here's the error I get
My understanding is I'd appreciate any help I can get. System setup
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hmm, i think that should mean that you have a x86 nodejs installation instead of an arm one. You can check via |
Beta Was this translation helpful? Give feedback.
-
I also have this problem that has not been solved. My computer is M1 pro chip, and I installed node with arm64 > [email protected] tauri:dev
> tauri dev
/Users/xianxian/Desktop/BlogAssistant/node_modules/@tauri-apps/cli/index.js:250
throw loadError
^
Error: dlopen(/Users/xianxian/Desktop/BlogAssistant/node_modules/@tauri-apps/cli-darwin-arm64/cli.darwin-arm64.node, 0x0001): tried: '/Users/xianxian/Desktop/BlogAssistant/node_modules/@tauri-apps/cli-darwin-arm64/cli.darwin-arm64.node' (code signature invalid in <6B5988B6-A97B-301E-9C31-A3B02C9F9B79> '/Users/xianxian/Desktop/BlogAssistant/node_modules/@tauri-apps/cli-darwin-arm64/cli.darwin-arm64.node' (errno=85) sliceOffset=0x00000000, codeBlobOffset=0x00ED38A0, codeBlobSize=0x0001DB08), '/System/Volumes/Preboot/Cryptexes/OS/Users/xianxian/Desktop/BlogAssistant/node_modules/@tauri-apps/cli-darwin-arm64/cli.darwin-arm64.node' (no such file), '/Users/xianxian/Desktop/BlogAssistant/node_modules/@tauri-apps/cli-darwin-arm64/cli.darwin-arm64.node' (code signature invalid in <6B5988B6-A97B-301E-9C31-A3B02C9F9B79> '/Users/xianxian/Desktop/BlogAssistant/node_modules/@tauri-apps/cli-darwin-arm64/cli.darwin-arm64.node' (errno=85) sliceOffset=0x00000000, codeBlobOffset=0x00ED38A0, codeBlobSize=0x0001DB08)
at Module._extensions..node (node:internal/modules/cjs/loader:1361:18)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at Module.require (node:internal/modules/cjs/loader:1157:19)
at require (node:internal/modules/helpers:119:18)
at Object.<anonymous> (/Users/xianxian/Desktop/BlogAssistant/node_modules/@tauri-apps/cli/index.js:141:29)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12) {
code: 'ERR_DLOPEN_FAILED'
}
Node.js v19.9.0
Process finished with exit code 1
|
Beta Was this translation helpful? Give feedback.
Hmm, i think that should mean that you have a x86 nodejs installation instead of an arm one. You can check via
node -p "process.arch"