Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fsevents dependency prohibits installation on linux #27

Open
jguddas opened this issue Dec 12, 2020 · 1 comment
Open

fsevents dependency prohibits installation on linux #27

jguddas opened this issue Dec 12, 2020 · 1 comment

Comments

@jguddas
Copy link

jguddas commented Dec 12, 2020

$ npm install d3-sankey-diagram

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

The use of fsevents is unclear and since it was added in conjunction with the addition of prettier, it is probably not needed as a dependency.

https://github.com/ricklupton/d3-sankey-diagram/blame/d8a126e9fc2bf4c4b98cc444544068bbd6c4d283/package.json#L37

@peterikladious
Copy link

I had the same issue installing on Windows.
I was able to use an earlier version (npm install [email protected]) which didn't have this dependency.

Possibly suggest to use the cross-platform library instead of fsevents, called Chokidar - https://github.com/paulmillr/chokidar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants