Remove fsevents dependency from search_api_decoupled_client_ui as it won't work on Linux

Created on 16 October 2024, 2 months ago

Problem/Motivation

When trying to install search_api_decoupled_client on Linux Ubuntu 24.04 with the expected node version (v18) we get:
npm i

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  undefined
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

Steps to reproduce

Clone the repository with git clone git@git.drupal.org:project/search_api_decoupled_client_ui.git and run npm i on a linux machine.

Proposed resolution

Remove "fsevents": "^2.3.3", package dependency from https://www.npmjs.com/package/@search-api-decoupled/ui?activeTab=code.

🐛 Bug report
Status

Active

Component

Code

Created by

🇦🇺Australia GuillaumeG

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024