fswin.node:1:2 - 错误:模块解析失败:意外字符 '�' (1:2)

时间:2021-07-22 03:26:48

标签: node.js angular webpack webpack-5

我正在将我的 Electron 应用程序从 Angular 11 升级到 Angular 12。我只剩下几个错误需要处理,其中一个就是这个。

我使用的是 macOS,lulop 是依赖于 Windows 上的 fswin 的内部依赖项。有没有办法在 macOS 上完全排除这个模块?我不确定这是否必须通过我的 Electron 应用程序的 package.jsonlulop,甚至 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)

0 个答案:

没有答案