Questions tagged [fsevents]

204 questions
1
vote
0 answers

Vite hot reloading does not work anymore if using new IntelliJ IDEA 2023 version

I am experiencing an issue with the usage of Hot Reload in Vite Server when using the latest version of IntelliJ IDEA. The version of Vite is 4.3.8. The version of IntelliJ IDEA is Build #IU-231.8109.175, built on March 28, 2023. The operating…
shogitai
  • 1,823
  • 1
  • 23
  • 50
1
vote
2 answers

No loader is configured in node_modules (fsevents)

I'm using Vite v4.1.1 with Vue 3.2 and all of a sudden got the following error message while running npm run dev: [ERROR] No loader is configured for ".node" files: node_modules/fsevents/fsevents.node node_modules/fsevents/fsevents.js:13:23: …
dawesydev
  • 11
  • 2
1
vote
0 answers

node-gyp "Error: `make` failed with exit code" when npm install on a m2 pro

I just purchased a MacBook M2 Pro and am trying to run an old Vue project of mine with node v19.6.0 and npm 6.14.18. While doing an npm install, I'm getting 2 errors which seems to be related to node-gyp building with some other packages like…
ege
  • 812
  • 6
  • 16
1
vote
0 answers

Error when compiling assets on Node 12-project, possibly related to fsevents

This is an application, built with Laravel, Vue and Vuex for shopping and user management. Node version: 12.22.12 When compiling assets on a project, then I'm getting a looooooong error, that isn't stating clearly what is wrong. Some gyp…
Zeth
  • 2,273
  • 4
  • 43
  • 91
1
vote
1 answer

npm install create-react-app my_app got stock on fsevents

I'm trying to make a react app on my macbook pro 2011 but in first step it got stock. I installed the latest node version from its website. I'm folowing the react docs to build my app. I ran this commands: npm uninstall -g create-react-app npm…
Alora
  • 761
  • 1
  • 5
  • 12
1
vote
1 answer

What is fsevents in Node.js?

Whenever I install any packages through npm I keep getting this warning: npm WARN deprecated fsevents@2.1.3: Please update to v 2.2.x I tried various methods to update it. But all failed. So my question is, is this important for Node.js? Can I…
Aswin K R
  • 29
  • 1
  • 8
1
vote
1 answer

"Error in ./node_modules/fsevents/fsevents.node" in Vue-CLI project

Today I encounter a problem in my Argon Vue.js project. When I try to run the 'npm run serve' command, I get the following error message: ERROR Failed to compile with 1 errors …
Yoji
  • 11
  • 3
1
vote
0 answers

How can I use DispatchSource on macOS in the app sandbox?

I've got a configuration folder in the root of the user directory. For example, ~/.ztool and there is a file named status in this folder which can be created, updated or deleted and it is important to know the status of this file. Existing…
Brennan
  • 11,546
  • 16
  • 64
  • 86
1
vote
1 answer

How to detect (FSEvent) if a file is modified through a (hard) symlink?

Some context The attempt is keep a hash for the content of each file in a list. Example file1.txt "This is a long story about dragons and..." -> Hash A28F30... file2.txt "Larousse dictionary. Letter A..." -> Hash 98BC012... For this, the program…
Adrian Maire
  • 14,354
  • 9
  • 45
  • 85
1
vote
1 answer

Error: `fsevents` unavailable (this watcher can only be used on Darwin) in CRA v2.1.7 and craco v3.5.0

I am getting the above error while running jest v23 in a monorepo. The package i am running jest on is built on CRA and craco. Package.json of my CRA { "name": "@sprinklr/chat-web-client", "version": "0.1.0", "dependencies": { …
Shivangi Khandelwal
  • 113
  • 1
  • 1
  • 12
1
vote
1 answer

How to globally hide fsevents warning?

Many questions such as this one talk about this very annoying behavior on non-mac OS. When I run npm install I want to remain aware of any warnings, but in Windows or Linux I would get this: $ ./npm install npm WARN deprecated chokidar@2.1.8:…
nowox
  • 25,978
  • 39
  • 143
  • 293
1
vote
0 answers

File updates are not triggering recompile - New Create React App

Did a fresh install of my mac with the following: Mac OS: Catalina 10.15.4 Node: 10.12.1 npx: 6.14.4 Started with create-react-app. But not recompiling on js file changes. Tried sudo npm start as well. Any pointers would be great. Have been at this…
cmathews
  • 116
  • 2
  • 13
1
vote
0 answers

Create-react-app on mac external drive keeps refreshing page

I am running a react app created with create-react-app ("react": "^16.13.1", nodejs: 13.12.0) on an external drive connected through USB-C to a MacBook Pro (macOS Catalina). After npm start the app keeps refreshing every ≈ 10 seconds (it's not…
razvan
  • 559
  • 7
  • 23
1
vote
0 answers

Cannot find module 'graceful-fs' happens with npm ci but not with npm install (with maven plugin)

We have some react projects that are built with maven because reasons. Point is, we used to run a maven plug-in with npm install, and everything was fine with the world. Lately we decided to improve our building process and use npm ci so all the…
Leo Lozes
  • 1,358
  • 1
  • 15
  • 33
1
vote
0 answers

How to know if FSEvents event corresponds to new file still being written to

In my backup app I am monitoring changes to a user-selected directory A and mirroring all file changes to another directory B. The only problem seems to be: how do I know if a file has been created and is still being written to, such as when an app…
Nickkk
  • 2,261
  • 1
  • 25
  • 34