与您的操作系统或体系结构不兼容:fsevents@1.0.11 [英] Not compatible with your operating system or architecture: fsevents@1.0.11

查看:126
本文介绍了与您的操作系统或体系结构不兼容:fsevents@1.0.11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Ubuntu 15.04。运行以下命令时:

I'm using Ubuntu 15.04. While running the following command:

npm install fsevents

我收到以下错误:

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.11
npm WARN tutorial@1.0.0 No repository field.

有人解决了这个问题吗?

Has anybody solved this?

推荐答案

在构建其他应用程序时,我遇到了与此依赖相同的问题。

I was facing the same issue with this dependecy when building other application.

仅为了知识和不是很好习惯NPM,因而不确定他们的应用程序将如何表现:

Just for the sake of knowledge and to people who are not well used to NPM, and thus uncertain about how their applications will behave:

因为 fsevents 是一个 OS X中的API允许应用程序注册对给定目录树的更改通知。正在运行:

Since fsevents is an API in OS X allows applications to register for notifications of changes to a given directory tree. Running:

npm install --no-optional

会做的伎俩,没有任何缺点。

Will do the trick, with no drawbacks.

这篇关于与您的操作系统或体系结构不兼容:fsevents@1.0.11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆