Skip to content

NPM Install Fails with Code EBADPLATFORM #37

Description

@DevDimov

When I cloned the repository and ran npm i, I got an error about an npm package called fsevents which does not support my operating system (Windows). Any ideas how to resolve this? Possibly replace with a cross-platform alternative like Chokidar?

npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile
npm error code EBADPLATFORM
npm error notsup Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin"} (current: {"os":"win32"})
npm error notsup Valid os:  darwin
npm error notsup Actual os: win32

Screenshot 2024-06-26 084152

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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