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
The snapshot_blob.bin and v8_context_snapshot.bin files are generated.
Actual result
Got an error as following:
Loading script for embedding: /home/runner/work/tmp/snapshot.js
Unable to open file "gen/v8/embedded.S" for writing.
Error running mksnapshot.
The content of snapshot.js doesn't matter.
It still fails even if you specified an empty js file.
Confirmed that "gen/v8/embedded.S" exists in "./node_modules/electron-mksnapshot/bin/gen/v8/".
It works fine to generate snapshots for x64 arch.
The text was updated successfully, but these errors were encountered:
I'm trying to generate v8 snapshots for linux arm64 on ubuntu x64.
Steps to reproduce
On x64 Ubuntu machine:
DEBUG='*' npm_config_arch=arm64 npm install --save-dev electron-mksnapshot ./node_modules/.bin/mksnapshot /home/runner/work/tmp/snapshot.js --output_dir /home/runner/work/tmp/
It downloads the base snapshot files via https://github.com/electron/electron/releases/download/v19.0.4/mksnapshot-v19.0.4-linux-arm64-x64.zip as expected.
Expected result
The
snapshot_blob.bin
andv8_context_snapshot.bin
files are generated.Actual result
Got an error as following:
The content of
snapshot.js
doesn't matter.It still fails even if you specified an empty js file.
Confirmed that "gen/v8/embedded.S" exists in "./node_modules/electron-mksnapshot/bin/gen/v8/".
It works fine to generate snapshots for x64 arch.
The text was updated successfully, but these errors were encountered: