hinode: [BUG] npm ci fails

Describe the bug npm ci no longer runs and returns with an EBADPLATFORM error .

The reason for this is that "fsevents": "~2.3.2" is Mac only?

It happens on this line: "node_modules/markdownlint-cli2/node_modules/fsevents"
Adding "optional": true, fixes the problem

To reproduce Run npm ci on anything else than a Mac

Expected behavior I expected it to work, as before.

Log file These are the messages when running npm ci:

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

Additional context I don’t have a mac 😀

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 15

Most upvoted comments

It runs with no errors now, so this is indeed fixed. Thanks.