Skip to content

Local dev server can't be installed on Windows / ARM64 #184

@SCWells72

Description

@SCWells72

I imagine this is a bit of a corner-case, but minimally I figured it should be brought to the team's attention.

I'm in the process of integrating LWC local dev into Illuminated Cloud 2, and I also recently picked up a Surface Laptop 7 which uses ARM64 instead of x64. The Salesforce CLI's packaged Windows x64 installer works just fine, albeit a bit slowly -- it's actually much quicker to use an npm-based install which in turn uses the ARM64-native node distribution -- and the lightning-dev CLI plugin installs just fine into this x64-based CLI install. Note that it doesn't install when using the ARM64 node.exe:

npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node install.js
npm error Unsupported platform: win32 arm64 LE

More on all of that here for those who might be curious.

UPDATE: The portion of the issue below was just user error, but I think it makes sense to keep this around to allow the plugin to be installed on Windows/ARM64 machines.

Anyway, when I try to start the server, I get the following:

$ sf lightning dev app
Error (1): The requested resource does not exist

Any idea what might be happening? Of course, it starts just fine on my Surface Laptop 5 which has a more traditional x64 processor.

Is there any type of verbose logging I might enable that could help to track this down?

Thanks in advance for your assistance...

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