jjzjj

fsevents

全部标签

node.js - npm WARN notsup 跳过可选依赖 : Unsupported platform for fsevents

我正在尝试运行thisproject.将minimatch版本更新到3.10.9后,出现以下错误:npmWARNoptionalSKIPPINGOPTIONALDEPENDENCY:fsevents@^1.0.0(node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents):npmWARNnotsupSKIPPINGOPTIONALDEPENDENCY:Unsupportedplatformforfsevents@1.0.14:wanted{"os":"darwin","

node.js - npm WARN notsup 跳过可选依赖 : Unsupported platform for fsevents

我正在尝试运行thisproject.将minimatch版本更新到3.10.9后,出现以下错误:npmWARNoptionalSKIPPINGOPTIONALDEPENDENCY:fsevents@^1.0.0(node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents):npmWARNnotsupSKIPPINGOPTIONALDEPENDENCY:Unsupportedplatformforfsevents@1.0.14:wanted{"os":"darwin","

node.js - 如何解决 npm install 在非 MAC 操作系统上抛出 fsevents 警告?

npminstall命令引发以下警告-npmWARNoptionalSKIPPINGOPTIONALDEPENDENCY:fsevents@1.1.2(node_modules\react-scripts\node_modules\fsevents):npmWARNnotsupSKIPPINGOPTIONALDEPENDENCY:Unsupportedplatformforfsevents@1.1.2:wanted{"os":"darwin","arch":"any"}(current:{"os":"win32","arch":"x64"})npmWARNoptionalSKIPPIN

windows - 是否有类似 autotest-fsevent for windows 的实现?

基本上,它是自动测试的扩展,用于监听来自操作系统的通知,并允许自动测试不永久扫描文件更改,同时仅测试必要的更改。它节省了CPU和磁盘的使用。 最佳答案 Windows为文件更改通知提供了一个API,称为FindFirstChangeNotificationhttp://msdn.microsoft.com/en-us/library/aa365261(VS.85).aspx事实证明,有人已经为此制作了一个小型ruby桥,您可以将其用作起点:http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ru

ios - FSEvents 在 IOS 中可用吗?

在我的应用程序中,我需要能够监控目录中的文件更改(添加/删除)。我已经阅读了有关IOS5中可用的FSEvents的信息,但找不到关于此的其他信息。有谁知道他们有空吗?如果有的话,有没有可用的例子? 最佳答案 我最终得到了一个使用kevents的FileMonitor类#import@protocolFileMonitorDelegate@required-(void)dirChanged:(NSString*)aDirName;@end@interfaceFileMonitor:NSObject-(void)monitorDir:(

node.js - npm WARN 可选 dep 失败,继续 fsevents@0.3.6

我正在安装browserSyncnpminstallbrowser-sync但是有问题npmWARNoptionaldepfailed,continuefsevents@0.3.6这个错误是什么以及如何解决?gulp没有启动P.S:它之前工作过。已经创建了2个项目。清除缓存-无济于事 最佳答案 嗨fsevents是一个仅在OSX上可用的API。因此,如果您像我一样使用像Windows这样的其他操作系统。通常,想要使用fsevents的软件将提供替代方案或使其成为可选的,因为您的消息读取。据我所知,它不会阻止gulp运行。我希望这至少

javascript - 与您的操作系统或架构不兼容 : fsevents@1. 0.11

我使用的是Ubuntu15.04。运行以下命令时:npminstallfsevents我收到以下错误:npmWARNoptionalSkippingfailedoptionaldependency/chokidar/fsevents:npmWARNnotsupNotcompatiblewithyouroperatingsystemorarchitecture:fsevents@1.0.11npmWARNtutorial@1.0.0Norepositoryfield.有人解决了吗? 最佳答案 在构建其他应用程序时,我遇到了同样的依赖问

ruby - 更新到 macos mavericks 后,gem 安装 autotest-fsevent 失败

更新到Maveriks后安装gemautotest-fsevent出现问题这是我得到的错误;Mellon:publiclasdolphin$sudogeminstallautotest-fseventBuildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingautotest-fsevent:ERROR:Failedtobuildgemnativeextension./Users/lasdolphin/.rvm/rubies/ruby-1.9.3-p448/bin/rubyextconf.rbextconf.r

ruby - MacRuby 中的 FSEvents : wrong callback is executed

我正在MacRuby中开发GUI应用程序,我需要使用FSEvents。我正在为不同的目录注册几个流。任何这些目录中的更改都会导致运行回调,但存在一个大问题:无论哪个目录发生更改,都会执行最后注册的回调。下面是独立的测试脚本:framework'Cocoa'framework'CoreServices'classMonitordefinitialize(dir)@dir=direnddefstart(&block)callback=Proc.newdo|stream,context,count,paths,flags,ids|p@dirblock.callendflags=KFSEven

ruby - OS X 上的 RVM、FSEvents 和 CarbonCore

我正在建立一个使用SASS的项目,它使用FSEvents来避免轮询磁盘。然而,这似乎不适用于RVM。这意味着当我运行sass--watch时,我收到了这个警告:警告:无法加载CarbonCore。FSEvents将不可用。我知道它仍然可以工作,但我不想一直轮询我的磁盘。我想让它与FSEvents一起使用。我能找到的最好的信息是这个线程:http://groups.google.com/group/compass-users/browse_thread/thread/df7d9d0da9ec1eb1我按照BrandonMathis的描述重新安装了我的RVMRuby(使用1.9.2)并下载