Questions tagged [fsevents]

204 questions
0
votes
2 answers

Problem with fsevents dependency while trying to install tailwindcss on linux

I'm trying to install tailwindcss in my Vue Js project using the following command: npm install -D tailwindcss@latest But I get this error: npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin"}…
user3192199
  • 31
  • 1
  • 5
0
votes
1 answer

Access app delegate function in FSEvent callback

I have created this function in app delegate file. I want to call a function of app delegate in callback. Is there any way please suggest. -(void) monitor{ FSEventStreamRef stream = FSEventStreamCreate(NULL, …
Yatendra
  • 1,310
  • 1
  • 18
  • 31
0
votes
2 answers

Angular 9 Issue: Unable to run the initial application

Can someone help me to resolve the following issue? I am following the https://v8.angular.io/guide/setup-local#prerequisites document to set up the initial application on my windows machine but facing an issue. OS: Windows 10, 64-bit Issue: npm…
rockey91
  • 142
  • 2
  • 10
0
votes
1 answer

Getting weird error logs while installing babel cli for node v12

I have been getting some weird error logs while installing babel cli on my mac machine which has node v12. It seems the error is related to fsevents module which is a dependency for mac. I was trying with the command yarn global add babel-cli I was…
0
votes
0 answers

Error with fsevents@1.2.11 when I try to install dependencies in VS Code

I tried to run my Angular project with ng s and got the error "ng' is not recognized as an internal or external command, operable program or batch file." So I ran npm install to install the dependencies again and got the following errors: npm…
0
votes
0 answers

How to check for file changes on Mac OS using python

I want to write a script that continuously checks a certain directory on a Mac OS for changing files. When I google for possible solutions I came upon MacFSEvents. However, when I try to pip install macfsevents I get the following error…
Smets
  • 5
  • 2
0
votes
1 answer

"TypeError: fsevents is not a constructor" - already tried a bunch of solutions

Upon running npm start, I get the error "TypeError: fsevents is not a constructor". I ran "sudo npm install", ran "sudo npm i fsevents", tried it with yarn, tried deleting node_modules and package.json, nothing works. Don't know why this is doing…
And I Am
  • 21
  • 4
0
votes
1 answer

Unable to create React typescript project

Hi I always get the following error while creating typescript based react project, and the project gets created with .js files instead. I have tried to reinstall the create-react-app utility but did not work. > node-pre-gyp ERR! Tried to…
Mitesh Pant
  • 524
  • 2
  • 15
0
votes
1 answer

Deployment fails while installing node-sass on Azure linux web app

I'm trying to deploy a website to Azure App Service running Linux, but the deployment fails. The issue seems to be with installing node-sass. I've set Node to the most recent version that the service supports. > node-sass@4.11.0 install…
matt
  • 167
  • 2
  • 8
0
votes
1 answer

unable to yarn install in ubuntu(fsevents@1.2.4: The platform "linux" is incompatible with this module)

I cloned a project from Github and following the initial instructions, it shows this error described below. I tried to understand it and google it, and from there I changed my NodeJS version multiple times using nvm but the problem is not resolved,…
Vinay Sharma
  • 25
  • 1
  • 9
0
votes
1 answer

FSEvents: kFSEventStreamCreateFlagWatchRoot flag: not getting 'root rename' events

I'm creating FSEvents stream and passing the kFSEventStreamCreateFlagWatchRoot flag. From Apple's documentation: kFSEventStreamCreateFlagWatchRoot : Request notifications of changes along the path to the path(s) you're watching. For example,…
Sanich
  • 1,739
  • 6
  • 25
  • 43
0
votes
1 answer

FSEventStreamCreateRelativeToDevice: How to get root folder for deviceID?

Im creating a FSEvents Stream with a path to directory: - (BOOL) registerFSEventsObserverForURL:(NSURL*)url error:(NSError **)error { BOOL succeeded = YES; FSEventStreamContext context; context.version = 0; context.info = (__bridge…
Sanich
  • 1,739
  • 6
  • 25
  • 43
0
votes
1 answer

Meteor Update Error: Pre-built binaries not found for fsevents@1.0.14

When I try to perform Meteor Update (from Meteor 1.4.1 to 1.4.2), I'm getting the following errors: node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and node@4.6.1 (node-v46 ABI) (falling back to source compile with…
0
votes
2 answers

anyone use watchify on linux? shouldn't it automatically be using inotify?

I'm on Linux trying to use watchify and keep getting Error: Cannot find module 'fsevents' from ~/dir Why is fsevents even being considered by my system? Isn't it strictly a Mac tool? How do I get node to use inotify as its default file monitor…
ddaaggeett
  • 149
  • 2
  • 10
0
votes
0 answers

Replacing deprecated NSWorkspaceDidPerformFileOperationNotification in OSX 10.11+

I am trying to monitor file changes, as well as identify the application that performed them, on OSX. NSWorkspace provides the NSWorkspaceDidPerformFileOperationNotification event, which is perfect for my needs, but it is deprecated in OSX 10.11…
benvan
  • 49
  • 3