Skip to content

"haxelib install ceramic" on macOs appears to only provide a arm64 electron binary #151

@hermanhermitage

Description

@hermanhermitage

On an Intel based macbook pro, I ran "haxelib install ceramic", and tried to build an launch following instructions at https://ceramic-engine.com/guides/your-first-project/

$ ceramic init --name myproject
Project created at path: /Users/user/Projects/crosslanguage/haxe/ceramic/myproject
Updated clay hxml at: /Users/user/Projects/crosslanguage/haxe/ceramic/myproject/out/clay/web/project.hxml

$ cd myproject

$ ceramic clay run web --setup --assets
Will build with configuration Run for target web (Web).
Updated clay hxml at: /Users/user/Projects/crosslanguage/haxe/ceramic/myproject/out/clay/web/project.hxml
Update project assets
Update project icons
Run begin build hooks
Run haxe compiler
Copy from Web project template
Perform replaces in names
Perform replaces in contents
Start ceramic runner
Failed to start electron: exited with status 126

$ file $(find ~/ceramic/ -iname electron -type f)
/Users/user/ceramic//runner/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron: Mach-O 64-bit executable arm64

$ file $(find ~/ceramic/ -iname haxe-bin -type f)
/Users/user/ceramic//git/haxe-binary/mac/haxe/haxe-bin: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
/Users/user/ceramic//git/haxe-binary/mac/haxe/haxe-bin (for architecture x86_64):	Mach-O 64-bit executable x86_64
/Users/user/ceramic//git/haxe-binary/mac/haxe/haxe-bin (for architecture arm64):	Mach-O 64-bit executable arm64

$ uname -a
Darwin Users-MacBook-Pro-3.local 20.6.0 Darwin Kernel Version 20.6.0: Thu Jul  6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64 x86_64

Looks like the electron node module doesnt include a universal binary, or a x86_64 binary.

Apologies I'm out of my wheelhouse otherwise, I'd try and fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions