Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove fsevents from Webpack Bundling #644

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zachpanter
Copy link

Remove fsevents from webpack bundling to prevent webpack's attempt to process fsevents.node.

@zachpanter
Copy link
Author

zpanter@mac Allusion % yarn dev
yarn run v1.22.22
...
ERROR in ./node_modules/fsevents/fsevents.node 1:0
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)
 @ ./node_modules/fsevents/fsevents.js 13:15-41
 @ ./node_modules/chokidar/lib/fsevents-handler.js 9:13-32
 @ ./node_modules/chokidar/index.js 15:24-57
 @ ./src/frontend/workers/folderWatcher.worker.ts 1:0-32 26:23-37
 @ ./src/frontend/entities/Location.ts 214:23-104
 @ ./src/frontend/stores/LocationStore.ts 18:0-54 60:51-65 248:32-46 261:29-43
 @ ./src/frontend/stores/RootStore.ts 5:0-44 38:33-46
 @ ./src/renderer.tsx 22:0-52 49:28-42 131:28-45

webpack 5.75.0 compiled with 1 error in 7206 ms
^C

VS

zpanter@mac Allusion % yarn dev
yarn run v1.22.22
...
webpack 5.75.0 compiled successfully in 6081 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant