[BUG] Package breaks `npm ci` command
Twometer opened this issue · 5 comments
Twometer commented
Describe the bug
After installing the @odata/client
package, npm ci
stops working.
System Environment
- OS: Windows 11
- Node Version: 18.12.0
- This Library Version: 2.21.1
To Reproduce
Steps to reproduce the behavior:
- Create empty npm project
- Run
npm install @odata/client
- Run
npm ci
- See error
Expected behavior
The command finishes without error
Additional context
Here is the error I get, for reference
$ npm ci
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for @esbuild/android-arm@0.15.13: wanted {"os":"android","arch":"arm"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: android
npm ERR! notsup Valid Arch: arm
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
Soontao commented
interesting, windows on arm, let me check with esbuild
Soontao commented
Hi @Twometer
I released a new version 2.21.2
, please have a try.
I think I realized the nature of this issue, but its hard to explain, its similar to the well-known fsevents issue I think, and caused by npm/package-lock and optional dependencies.
Best Regards,
Theo
Twometer commented
Hi @Soontao,
I now get a different error:
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64