loeffel-io / ls-lint

An extremely fast directory and filename linter - Bring some structure to your project filesystem

Home Page:https://ls-lint.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation gives an error of architecture ia32

Leifhaa opened this issue · comments

Hello!

Whenever I'm trying to install ls-lint using the command:
npm install latest-version

I retrieve the following error:

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for @ls-lint/ls-lint@1.11.2: wanted {"os":"darwin,linux,win32","arch":"x64,arm64"} (current: {"os":"win32","arch":"ia32"})
npm ERR! notsup Valid OS: darwin,linux,win32
npm ERR! notsup Valid Arch: x64,arm64
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: ia32

Is there any way I'll be able to use ls-lint, or is not computer not capeable of doing so? I'm using a quite new ASUS laptop with the processor: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 2803 Mhz, 4 Core(s), 8 Logical Processor(s)

Hello,

so you running a windows 32-bit system?

32 bit is not supported

Hello, appreciate the response!

No, I'm running x64-based.

If there is of interest, I'm using this laptop: "ASUS ZenBook S13 UX393EA 13,9"

I also want to point out that this problem occured to me while developing a school project where ls-lint was a dependency. Out of hundreds of students, I believe I was the only one experiencing this issue, so it might be due to my computer or atleast the CPU's architecture I assume?

Hi

I'm facing the same issue. One of the dependency packages uses ls-lint as a dependency package and when I run yarn install it shows the same error. Please see screenshot:

image

Device Specifications:

Processor Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz 2.59 GHz
Installed RAM 16.0 GB (15.8 GB usable)
System type 64-bit operating system, x64-based processor

Windows specifications:

Edition Windows 10 Home
Version 22H2
Installed on ‎2/‎25/‎2023
OS build 19045.2673
Experience Windows Feature Experience Pack 120.2212.4190.0

Your help is much appreciated, thanks!

Hi

FYI I did not manage to solve this problem myself so I used a virtual machine/docker to solve it. I assume you encountered the issue when working with DHIS2, I also had the problems when working with DHIS2 :)

Hi

FYI I did not manage to solve this problem myself so I used a virtual machine/docker to solve it. I assume you encountered the issue when working with DHIS2, I also had the problems when working with DHIS2 :)

Yes, thanks! It's because @dhis2/cli-style has lint as a dependency. What's the OS in your VM? Thanks!

Just a regular winodws 10 OS. I believe it's the CPU architecture which is the problem. In the VM, it's a virtual CPU which is supported by LSLint.

@loeffel-io is there any update on this? Thanks!

Hello.
If you are affected by this issue, please make sure that you have installed node.js for x64 not x86 architecture.

Hello. If you are affected by this issue, please make sure that you have installed node.js for x64 not x86 architecture.

Yes @wiget, thanks! I checked the downloaded file and it's x86. Reinstalling node.js thanks!

(How did you figure this one out?!! 😁😅🤔 )