Skip to content

Issue with arm64 version of Node.js on M1 #56

Description

@friederbluemle

Attempting to install swp with an arm64 build of Node.js fails with the following error:

error node_modules/swp: Command failed.
Exit code: 1
Command: node npm/scripts.js install
Arguments:
Directory: node_modules/swp
Output:
node_modules/swp/npm/scripts.js:5
                if (fatal) throw err;
                           ^

Error: Unsupported platform: Darwin arm64. Please create an issue at https://github.com/woubuc/sweep/issues
    at getPlatform (node_modules/swp/npm/getBinary.js:24:8)
    at getBinary (node_modules/swp/npm/getBinary.js:28:19)
    at getBinary (node_modules/swp/npm/scripts.js:3:32)
    at Object.<anonymous> (node_modules/swp/npm/scripts.js:15:17)
    at Module._compile (node:internal/modules/cjs/loader:1155:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
    at Module.load (node:internal/modules/cjs/loader:1033:32)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions