-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
bugSomething isn't workingSomething isn't working
Description
$ bun install
bun install v1.2.18 (0d4089ea)
$ electron-builder install-app-deps
/home/user/code/js/flow-browser/node_modules/app-builder-lib/node_modules/minimatch/dist/commonjs/index.js:7
const brace_expansion_1 = __importDefault(require("brace-expansion"));
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/user/code/js/flow-browser/node_modules/app-builder-lib/node_modules/minimatch/node_modules/brace-expansion/index.js from /home/user/code/js/flow-browser/node_modules/app-builder-lib/node_modules/minimatch/dist/commonjs/index.js not supported.
Instead change the require of /home/user/code/js/flow-browser/node_modules/app-builder-lib/node_modules/minimatch/node_modules/brace-expansion/index.js in /home/user/code/js/flow-browser/node_modules/app-builder-lib/node_modules/minimatch/dist/commonjs/index.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/user/code/js/flow-browser/node_modules/app-builder-lib/node_modules/minimatch/dist/commonjs/index.js:7:43)
error: postinstall script from "flow-browser" exited with 1
$ bun start
$ electron-vite preview
vite v6.3.5 building SSR bundle for production...
✓ 126 modules transformed.
out/main/index.js 556.09 kB
✓ built in 549ms
vite v6.3.5 building SSR bundle for production...
✓ 2 modules transformed.
out/preload/index.js 28.37 kB
✓ built in 26ms
vite v6.3.5 building for production...
✓ 7411 modules transformed.
../../out/renderer/index.html 0.44 kB
../../out/renderer/assets/pdf.worker.min-BFAMBS4k.mjs 1,031.81 kB
../../out/renderer/assets/index-BL6ZFSGe.css 364.76 kB
../../out/renderer/assets/index-DwysOnja.js 9,857.55 kB
✓ built in 7.82s
start electron app...
[3073477:0718/092936.731607:FATAL:content/browser/zygote_host/zygote_host_impl_linux.cc:225] Check failed: . : Invalid argument (22)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working