我正在将我的 Electron 应用程序从 Angular 11 升级到 Angular 12。我只剩下几个错误需要处理,其中一个就是这个。
我使用的是 macOS,lulop
是依赖于 Windows 上的 fswin
的内部依赖项。有没有办法在 macOS 上完全排除这个模块?我不确定这是否必须通过我的 Electron 应用程序的 package.json
或 lulop
,甚至 webpack.config.js
来完成。非常感谢任何帮助!
./src/@external/lulop/node_modules/fswin/electron/ia32/fswin.node:1:2 - Error: Module parse failed: Unexpected character '�' (1:2)
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)