Skip to content

No zadeh prebuild for darwin-arm64 #103

Open
@gnmerritt

Description

Prerequisites

Description

See pulsar-edit/pulsar#580 - I'm getting module load failures on an M1 mac perhaps because there is no matching prebuild.

It looks like the prebuild for arm macs is currently commented out in the CI.yml file, could we turn it back on and push a new version to NPM?

Steps to Reproduce

  1. Open Pulsar
  2. Have ide-rust or atom-ide-outline active
  3. Open a .rs file, ide-rust and atom-ide-outline fail to load zadeh

Expected behavior:

The packages to work even if a prebuild is missing

Actual behavior:

The loader fails with a node-gyp-build thrown error

Reproduces how often:

All the time

Versions

Pulsar: 1.105.0 arm64
Electron: 12.2.3
OS: macOS 13.4 (Darwin mobutu.local 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 arm64)

zadeh v3.0.0-beta.4

ide-rust 1.1.2 
atom-ide-outline 3.2.0 

Additional Information

Failed to activate the atom-ide-outline package

At No native build was found for platform=darwin arch=arm64 runtime=electron abi=87 uv=1 armv=8 libc=glibc node=14.16.0 electron=12.2.3
    loaded from: /Users/nathan/.pulsar/packages/atom-ide-outline/node_modules/zadeh


Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=87 uv=1 armv=8 libc=glibc node=14.16.0 electron=12.2.3
    loaded from: /Users/nathan/.pulsar/packages/atom-ide-outline/node_modules/zadeh

    at Function.load.resolve.load.path (/packages/ide-rust/node_modules/node-gyp-build/node-gyp-build.js:60:9)
    at load (/packages/ide-rust/node_modules/node-gyp-build/node-gyp-build.js:22:30)
    at /packages/ide-rust/node_modules/zadeh/index.js:1:2743)
    at /packages/ide-rust/node_modules/zadeh/index.js:4:3)
    at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
    at Object.value [as .js] (/Users/nathan/sources/pulsar/src/compile-cache.js:252:23)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.o._load (electron/js2c/renderer_init.js:33:379)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (/app.asar/src/native-compile-cache.js:67:27)
    at /packages/atom-ide-outline/dist/main.js:1:248)
    at /packages/atom-ide-outline/dist/main.js:4:3)
    at Module._compile (/app.asar/src/native-compile-cache.js:120:30)
    at Object.value [as .js] (/Users/nathan/sources/pulsar/src/compile-cache.js:252:23)
    at Module.load (internal/modules/cjs/loader.js:935:32)
    at Module._load (internal/modules/cjs/loader.js:776:14)
    at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
    at Function.o._load (electron/js2c/renderer_init.js:33:379)
    at Module.require (internal/modules/cjs/loader.js:959:19)
    at require (/app.asar/src/native-compile-cache.js:67:27)
    at requireModule (/Users/nathan/sources/pulsar/src/module-utils.js:3:17)
    at Package.requireMainModule (/app.asar/src/package.js:909:27)
    at Package.activateNow (/app.asar/src/package.js:232:34)
    at /app.asar/src/package.js:1085:18
    at Function.simpleDispatch (/app.asar/node_modules/event-kit/dist/emitter.js:64:14)
    at Emitter.emit (/app.asar/node_modules/event-kit/dist/emitter.js:257:28)
    at PackageManager.triggerDeferredActivationHooks (/Users/nathan/sources/pulsar/src/package-manager.js:804:34)
    at /Users/nathan/sources/pulsar/src/package-manager.js:733:12

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