Fsevents: Not support error

Created on 17 Feb 2016  路  6Comments  路  Source: fsevents/fsevents

Hi, I got this error while trying to install on my Ubuntu server:

npm ERR! Linux 4.4.0-x86_64-linode63
npm ERR! argv "/opt/node/bin/node" "/usr/local/bin/npm" "i" "fsevents"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! code EBADPLATFORM

npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64

All 6 comments

You should not be trying to install this on Linux. If it is a dependency of another package, it should be listed with optionalDependencies so that npm can bypass it with an unobtrusive warning.

If a shrinkwrap file is involved, see this comment for a potential workaround: https://github.com/npm/npm/issues/2679#issuecomment-150084700

Running into this as well.
Warnings are ugly. Errors are worse.

Better to either:
1) Let the package install and silently do nothing if not on Mac
2) Make the package not install itself (silently) without puking out errors on other OSes

Hi,
I'm trying to build-from-source node-sass and got stuck on extracting [email protected]
Can somebody tell me why fsevents is going to install itself into android system?

- extract:fsevents: sill extract [email protected] extracted to /data/data/com.termux/

@netblink-cobreen something is wrong with your build process, fsevents is not fetched by npm for non-macos OSes.

Now that Apple is releasing ARM64 based machines and test machines are out in the wild can you please update FSEvents to not puke and fail install on other Ones

@3bars we don't fail on arm. We check if the os kernel is darwin. Darwin on arm is still darwin.

Was this page helpful?
0 / 5 - 0 ratings