duckdb / duckdb-node

MIT License
57 stars 27 forks source link

Error: electron-rebuild failed to read module arch: ENOENT: no such file or directory when running with electron #131

Open nangtrongvuon opened 1 month ago

nangtrongvuon commented 1 month ago

Description

duckdb-node version: v1.1.1 As title, running an electron app with duckdb specified as a dependency will not work

Machine: Mac Mini M2 OS: macOS Sequoia Platform: arm64

Reproduce

To reproduce, clone this repository https://github.com/abhidg/duckdb-react-electron

Then run

npm i
npm run start

Logs

npm run start          

> my-new-app@1.0.0 start
> electron-forge start

✔ Checking your system

electron-forge:check-system checking system, create ~/.skip-forge-system-check to stop doing this +0ms
❯ Locating application
  electron-forge:project-resolver searching for project in: /Users/dzung/Developer/duckdb-react-electron +0ms
  electron-forge:project-resolver package.json with forge dependency found in /Users/dzung/Developer/duckdb-react-electron/package.json +1ms
✔ Locating application
❯ Loading configuration
  electron-forge:plugin:webpack hooking process events +0ms
✔ Loading configuration
❯ Preparing native dependencies
› 2024-10-23T09:15:14.255Z electron-rebuild rebuilding with args: [Arguments] {
›   '0': {
›     buildPath: '/Users/dzung/Developer/duckdb-react-electron',
›     electronVersion: '29.3.0',
›     arch: 'arm64'
›   }
› }

› 2024-10-23T09:15:14.256Z electron-rebuild ignoreModules []
› 2024-10-23T09:15:14.256Z electron-rebuild rebuilding with args: /Users/dzung/Developer/duckdb-react-electron 29.3.0 darwin arm64 Set(0) {} false https://www.electronjs.org/headers [ 'prod', 'optional' ] false

› 2024-10-23T09:15:14.257Z electron-rebuild exploring /Users/dzung/Developer/duckdb-react-electron/node_modules/duckdb-async

› 2024-10-23T09:15:14.257Z electron-rebuild exploring /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-squirrel-startup

› 2024-10-23T09:15:14.258Z electron-rebuild exploring /Users/dzung/Developer/duckdb-react-electron/node_modules/react

› 2024-10-23T09:15:14.258Z electron-rebuild exploring /Users/dzung/Developer/duckdb-react-electron/node_modules/react-dom

› 2024-10-23T09:15:14.258Z electron-rebuild exploring /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-squirrel-startup/node_modules/debug

› 2024-10-23T09:15:14.258Z electron-rebuild identified prod deps: Set(0) {
›   'duckdb-async': true,
›   'electron-squirrel-startup': true,
›   react: true,
›   'react-dom': true,
›   duckdb: true,
›   debug: true,
›   'loose-envify': true,
›   scheduler: true,
›   ms: true
› }

› 2024-10-23T09:15:14.259Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules

› 2024-10-23T09:15:14.261Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@ampproject

› 2024-10-23T09:15:14.261Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@babel

› 2024-10-23T09:15:14.262Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@babel/core/node_modules

› 2024-10-23T09:15:14.262Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@babel/helper-compilation-targets/node_modules

› 2024-10-23T09:15:14.264Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@babel/highlight/node_modules

› 2024-10-23T09:15:14.267Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@babel/traverse/node_modules

› 2024-10-23T09:15:14.268Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@bcoe

› 2024-10-23T09:15:14.268Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@cspotcode

› 2024-10-23T09:15:14.269Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@cspotcode/source-map-support/node_modules

› 2024-10-23T09:15:14.269Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell

› 2024-10-23T09:15:14.269Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron

› 2024-10-23T09:15:14.270Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron/asar/node_modules

› 2024-10-23T09:15:14.270Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron/fuses/node_modules

› 2024-10-23T09:15:14.271Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron/get/node_modules

› 2024-10-23T09:15:14.271Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron/node-gyp/node_modules

› 2024-10-23T09:15:14.272Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron/notarize/node_modules
› 2024-10-23T09:15:14.273Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron/packager/node_modules

› 2024-10-23T09:15:14.273Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron/universal/node_modules

› 2024-10-23T09:15:14.274Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron/windows-sign/node_modules

› 2024-10-23T09:15:14.274Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@electron-forge

› 2024-10-23T09:15:14.277Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@eslint

› 2024-10-23T09:15:14.277Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@eslint-community

› 2024-10-23T09:15:14.277Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@gar

› 2024-10-23T09:15:14.278Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@humanwhocodes

› 2024-10-23T09:15:14.278Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@istanbuljs

› 2024-10-23T09:15:14.279Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@istanbuljs/load-nyc-config/node_modules

› 2024-10-23T09:15:14.280Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@jest

› 2024-10-23T09:15:14.281Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@jridgewell

› 2024-10-23T09:15:14.282Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@leichtgewicht

› 2024-10-23T09:15:14.283Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@malept

› 2024-10-23T09:15:14.283Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@mapbox

› 2024-10-23T09:15:14.283Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@mapbox/node-pre-gyp/node_modules

› 2024-10-23T09:15:14.284Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@nodelib

› 2024-10-23T09:15:14.284Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@npmcli

› 2024-10-23T09:15:14.285Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@rtsao

› 2024-10-23T09:15:14.285Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@sinclair

› 2024-10-23T09:15:14.285Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@sindresorhus

› 2024-10-23T09:15:14.286Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@sinonjs

› 2024-10-23T09:15:14.286Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@szmarczak

› 2024-10-23T09:15:14.286Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@tootallnate

› 2024-10-23T09:15:14.287Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@tsconfig

› 2024-10-23T09:15:14.288Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@types

› 2024-10-23T09:15:14.289Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@types/express/node_modules

› 2024-10-23T09:15:14.289Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@types/express/node_modules/@types

› 2024-10-23T09:15:14.293Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@typescript-eslint

› 2024-10-23T09:15:14.294Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@ungap

› 2024-10-23T09:15:14.294Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@vercel

› 2024-10-23T09:15:14.295Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@webassemblyjs

› 2024-10-23T09:15:14.296Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@xmldom

› 2024-10-23T09:15:14.297Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/@xtuc

› 2024-10-23T09:15:14.298Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/ajv-formats/node_modules

› 2024-10-23T09:15:14.299Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/ansi-escapes/node_modules

› 2024-10-23T09:15:14.301Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/asar/node_modules

› 2024-10-23T09:15:14.302Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/babel-plugin-istanbul/node_modules

› 2024-10-23T09:15:14.303Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/body-parser/node_modules

› 2024-10-23T09:15:14.304Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/cacache/node_modules

› 2024-10-23T09:15:14.306Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/chokidar/node_modules

› 2024-10-23T09:15:14.307Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/cliui/node_modules

› 2024-10-23T09:15:14.309Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/compression/node_modules

› 2024-10-23T09:15:14.311Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/cssstyle/node_modules

› 2024-10-23T09:15:14.312Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/decompress-response/node_modules

› 2024-10-23T09:15:14.315Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/dom-serializer/node_modules

› 2024-10-23T09:15:14.316Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron/node_modules

› 2024-10-23T09:15:14.316Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron/node_modules/@electron

› 2024-10-23T09:15:14.317Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron/node_modules/@types

› 2024-10-23T09:15:14.317Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-installer-common/node_modules

› 2024-10-23T09:15:14.318Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-installer-common/node_modules/@malept

› 2024-10-23T09:15:14.318Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-installer-debian/node_modules

› 2024-10-23T09:15:14.318Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-installer-debian/node_modules/@malept

› 2024-10-23T09:15:14.320Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-installer-redhat/node_modules

› 2024-10-23T09:15:14.320Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-installer-redhat/node_modules/@malept

› 2024-10-23T09:15:14.321Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-squirrel-startup/node_modules

› 2024-10-23T09:15:14.322Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/electron-winstaller/node_modules

› 2024-10-23T09:15:14.323Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/encoding/node_modules

› 2024-10-23T09:15:14.324Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/escodegen/node_modules

› 2024-10-23T09:15:14.325Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/eslint/node_modules

› 2024-10-23T09:15:14.325Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/eslint-import-resolver-node/node_modules

› 2024-10-23T09:15:14.326Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/eslint-module-utils/node_modules

› 2024-10-23T09:15:14.326Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/eslint-plugin-import/node_modules

› 2024-10-23T09:15:14.327Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/esquery/node_modules

› 2024-10-23T09:15:14.327Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/esrecurse/node_modules

› 2024-10-23T09:15:14.328Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/execa/node_modules

› 2024-10-23T09:15:14.329Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/express/node_modules

› 2024-10-23T09:15:14.329Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/fast-glob/node_modules

› 2024-10-23T09:15:14.331Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/filelist/node_modules

› 2024-10-23T09:15:14.332Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/finalhandler/node_modules

› 2024-10-23T09:15:14.334Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/gauge/node_modules

› 2024-10-23T09:15:14.335Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/get-package-info/node_modules

› 2024-10-23T09:15:14.336Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/global-prefix/node_modules

› 2024-10-23T09:15:14.338Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/hpack.js/node_modules

› 2024-10-23T09:15:14.339Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/html-minifier-terser/node_modules

› 2024-10-23T09:15:14.340Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/htmlparser2/node_modules

› 2024-10-23T09:15:14.340Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/http-proxy/node_modules

› 2024-10-23T09:15:14.345Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/istanbul-lib-report/node_modules

› 2024-10-23T09:15:14.348Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/jest-runner/node_modules

› 2024-10-23T09:15:14.349Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/jest-validate/node_modules

› 2024-10-23T09:15:14.349Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/jest-worker/node_modules

› 2024-10-23T09:15:14.350Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/jsdom/node_modules

› 2024-10-23T09:15:14.351Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/load-json-file/node_modules

› 2024-10-23T09:15:14.352Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/log-update/node_modules

› 2024-10-23T09:15:14.353Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/make-dir/node_modules

› 2024-10-23T09:15:14.354Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/make-fetch-happen/node_modules

› 2024-10-23T09:15:14.355Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/minipass/node_modules

› 2024-10-23T09:15:14.356Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/minizlib/node_modules

› 2024-10-23T09:15:14.358Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/node-fetch/node_modules

› 2024-10-23T09:15:14.358Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/node-gyp/node_modules

› 2024-10-23T09:15:14.359Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/normalize-package-data/node_modules

› 2024-10-23T09:15:14.361Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/ora/node_modules

› 2024-10-23T09:15:14.362Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/p-retry/node_modules

› 2024-10-23T09:15:14.364Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/pkg-dir/node_modules

› 2024-10-23T09:15:14.366Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/postject/node_modules

› 2024-10-23T09:15:14.366Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/pretty-format/node_modules

› 2024-10-23T09:15:14.368Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/read-pkg/node_modules

› 2024-10-23T09:15:14.368Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/read-pkg-up/node_modules

› 2024-10-23T09:15:14.370Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/resolve-cwd/node_modules

› 2024-10-23T09:15:14.372Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/send/node_modules

› 2024-10-23T09:15:14.372Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/send/node_modules/debug/node_modules

› 2024-10-23T09:15:14.373Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/serialize-error/node_modules

› 2024-10-23T09:15:14.373Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/serve-index/node_modules

› 2024-10-23T09:15:14.375Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/slice-ansi/node_modules

› 2024-10-23T09:15:14.377Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/stack-utils/node_modules

› 2024-10-23T09:15:14.377Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/string-width/node_modules

› 2024-10-23T09:15:14.379Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/strip-outer/node_modules

› 2024-10-23T09:15:14.379Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/tar/node_modules

› 2024-10-23T09:15:14.380Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/temp/node_modules

› 2024-10-23T09:15:14.380Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/terser/node_modules

› 2024-10-23T09:15:14.381Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/terser-webpack-plugin/node_modules

› 2024-10-23T09:15:14.382Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/tough-cookie/node_modules

› 2024-10-23T09:15:14.382Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/trim-repeated/node_modules

› 2024-10-23T09:15:14.383Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/ts-loader/node_modules

› 2024-10-23T09:15:14.383Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/tsconfig-paths/node_modules

› 2024-10-23T09:15:14.383Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/tsutils/node_modules

› 2024-10-23T09:15:14.385Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/username/node_modules

› 2024-10-23T09:15:14.387Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/webpack-dev-middleware/node_modules

› 2024-10-23T09:15:14.388Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/webpack-dev-server/node_modules

› 2024-10-23T09:15:14.389Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/whatwg-encoding/node_modules

› 2024-10-23T09:15:14.390Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/wide-align/node_modules

› 2024-10-23T09:15:14.390Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/wrap-ansi/node_modules

› 2024-10-23T09:15:14.392Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/yargs/node_modules

› 2024-10-23T09:15:14.392Z electron-rebuild scanning: /Users/dzung/Developer/duckdb-react-electron/node_modules/yarn-or-npm/node_modules

› 2024-10-23T09:15:14.394Z electron-rebuild checking duckdb against []

› 2024-10-23T09:15:14.395Z electron-rebuild assuming is node-pre-gyp powered: duckdb

› 2024-10-23T09:15:14.395Z electron-rebuild triggering prebuild download step: duckdb

› 2024-10-23T09:15:14.473Z electron-rebuild module paths: [
›   '/Users/dzung/Developer/duckdb-react-electron/node_modules/duckdb/lib/binding/duckdb.node'
› ]

› 2024-10-23T09:15:14.473Z electron-rebuild failed to read module arch: ENOENT: no such file or directory, stat '/Users/dzung/Developer/duckdb-react-electron/node_modules/duckdb/lib/binding/duckdb.node'