Questions tagged [fsevents]
204 questions
7
votes
3 answers
Can't run "npm install" without deleting node_modules after upgrading to NPM 5.4.1
I've upgraded NPM from 5.3.0 to 5.4.1 and after that, it seems that the command npm install works only if I've removed node_modules. When I try to rerun the installation, I'm getting the following error message. (After that, if I again remove…
user1675891
7
votes
1 answer
Why is there many instances of "fsevent_watch" under Ruby in mac?
Now I have 21 instances of "fsevent_watch" for which the parent process & process group is "ruby".
I am developing a rails project but nothing is currently running now. The server I started earlier was closed by using cntrl+C. I am on a mac.
How is…

user7579349
- 581
- 1
- 5
- 10
7
votes
1 answer
fsevents (pulled in by chokidar) in npm shrinkwrap causes build to fail on Windows
OSX only fsevents is listed in the npm shrinkwrap because it's pulled in by chokidar. Our production is Linux based and it didn't cause any trouble there, obviously OSX developers are fine too, but it broke npm install on my Win x64 environment.
How…

Csaba Toth
- 10,021
- 5
- 75
- 121
6
votes
1 answer
FSEvents file flags are set regardless of event stream creation options
According to Apple documentation, in the callback to FSEvents,
/* These flags are only set if you specified the FileEvents */
/* flags when creating the stream. */
kFSEventStreamEventFlagItemCreated = 0x00000100,…

Tony
- 36,591
- 10
- 48
- 83
6
votes
2 answers
npm ERR! fsevents not accessible from rollup
I am trying to build my Angular app on Gitlab CI, and install the dependencies with npm ci, but I encounter an error 'fsevents not accessible from rollup'. I tried npm ci --no-optional and still having this error. How do I fix this?

Chi
- 355
- 4
- 14
6
votes
2 answers
Why do I get these errors: "deasync" & "node build.js", "fsevents" & "node install", "node-gyp", "make" errors on "yarn add"
Please help me make sense of this big fat error output. At this point I don't know which end is up. I have been spinning my wheels for days on this.
This is not the first/only package installation that has given me these errors, but the project ran…

csforbes
- 560
- 2
- 5
- 11
6
votes
1 answer
Can't install Webpack with node 12.0.0-pre and npm 6.6.0 OSX
So I run the command npm install -D webpack
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.7/fse-v1.2.7-node-v68-darwin-x64.tar.gz…

Jackie
- 21,969
- 32
- 147
- 289
6
votes
1 answer
What does the FSEvent flag kFSEventStreamEventFlagItemInodeMetaMod mean?
When will the flag kFSEventStreamEventFlagItemInodeMetaMod be set? In Apple's developer documentation it says the value is:
kFSEventStreamEventFlagItemInodeMetaMod = 0x00000400
but it doesn't explain when it's set.
Thanks!

Sharon L.
- 81
- 3
6
votes
1 answer
Use FSEvents in sandboxed app
I'm trying to use FSEvents in my sandboxed app to monitor some directories. I implemented the following class:
@implementation SNTracker
- (id)initWithPaths:(NSArray *)paths {
self=[super init];
if (self) {
trackedPaths=paths;
…

Nickkk
- 2,261
- 1
- 25
- 34
6
votes
0 answers
OSX FSEvent API and tracking multiple rename events
There is a discussion that contiguous FSEventStreamEventId can be used to detect the old and new names for kFSEventStreamEventFlagItemRenamed events. This does appear to work in my testing of a basic rename case. However, this seems to break down…

ribram
- 2,392
- 1
- 18
- 20
6
votes
7 answers
Equivalent of FileSystemWatcher (.NET) in Cocoa
I am developing an application in Cocoa. I want to constantly check whether the contents of a file in a particular location is changed or not (like FileSystemWatcher in .NET). Please anyone give me a solution

MobX
- 2,640
- 7
- 33
- 54
5
votes
3 answers
Vite + ESBuild error: No loader is configured for ".node" files: node_modules/fsevents/fsevents.node
I am very new to ReactJS and Vite. I am working on some tutorials I have suddenly started getting below error. I have tried to re-install node_modules but didn't work.
[ERROR] No loader is configured for ".node" files:…

Shrikant
- 155
- 3
- 13
5
votes
4 answers
Guard doesn't see file updates
I'm developing a custom engine using this setup.
I've created the engine with
rails plugin new MyEngine --full
Then I've added rspec-rails and guard-rspec as development dependencies with
s.add_development_dependency…

Fabio
- 18,856
- 9
- 82
- 114
5
votes
1 answer
FSEvents mysteriously fails to deliver events in some folders
this is killing me, and I'm not sure I know how to approach debugging it.
I'm using Mac FSEvents API to monitor a given folder on the file system. However, occasionally, some folders stop sending any notification events. So far, this has only…

Andrey Tarantsov
- 8,965
- 7
- 54
- 58
5
votes
3 answers
Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) on github actions
i have created an github action to deploy the code when pushed.
it cause this error when installing the packages.
Run npm i --no-optional && cd client && npm i --no-optional && cd ..
npm WARN read-shrinkwrap This version of npm is compatible with…

emkay
- 410
- 1
- 4
- 12