rspack-examples icon indicating copy to clipboard operation
rspack-examples copied to clipboard

× Module not found: Can't resolve 'fsevents' in

Open ipseonet opened this issue 4 months ago • 0 comments

Trying to use the express example, but fsevents gets in the way and the server does not start. It returns this error: × Module not found: Can't resolve 'fsevents' in '//rsbuild.one/node_modules/@rsbuild/core/compiled/chokidar' ╭─[4366:23] 4364 │ 464: (module) => { 4365 │ "use strict"; 4366 │ module.exports = require("fsevents"); · ─────────────────── 4367 │ }, 4368 │ 37: (module) => { ╰──── I dont use MacOS and have fsevents inside of optionalDependencies in my package.json but the server still tries to use fsevents.

Any suggestions?

ipseonet avatar Sep 30 '24 23:09 ipseonet