Skip to content
This repository was archived by the owner on Aug 3, 2023. It is now read-only.
This repository was archived by the owner on Aug 3, 2023. It is now read-only.

Native darwin/arm64 build via NPM #1685

@theashguy

Description

@theashguy

💡 Feature request

Overview and problem statement

About to pick up Cloudflare / Wrangler as a core platform for a new project and just replaced my daily machine with a new M1 mac. Noticed that the npm install instructions don't work with the new platform.

When I try to install it I get Error: Unsupported platform: Darwin arm64.

Basic example

Just do the old npm install wrangler-cli -g

Workaround

Works fine if you use cargo to build directly for the env. Just make sure you remove the one installed by npm else you might get a clash of binaries :). It might be worth updating the documentation somewhere to point to this for the time being :).

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature requests and suggestionsonboardingIssues with installation or login

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions