Npm Mithril dependency不断为localhosting electron应用程序提供问题

Npm Mithril dependency不断为localhosting electron应用程序提供问题,npm,electron,mithril.js,Npm,Electron,Mithril.js,我想在本地托管electron应用程序tutanota,以便对其进行深入研究。 该应用程序具有用于自己构建项目的自述文件() 克隆项目并查看最新的relase后,我运行: npm install 为此,我得到以下错误: WARN mithril-node-render@2.3.0 requires a peer of mithril@^1.1.5 but none is installed. You must install peer dependencies yourself. npm WA

我想在本地托管electron应用程序tutanota,以便对其进行深入研究。 该应用程序具有用于自己构建项目的自述文件()

克隆项目并查看最新的relase后,我运行:

npm install
为此,我得到以下错误:

WARN mithril-node-render@2.3.0 requires a peer of mithril@^1.1.5 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.1 (node_modules\rollup\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
然后我尝试运行node dist prod,它运行了一段时间,但结果如下:

Build error: Error: Unknown chunk: undefined of libs\mithril.js
    at Object.generateBundle (file:///C:/Users/Ask/Git/tutanota/buildSrc/RollupConfig.js:183:13)
    at file:///C:/Users/Ask/Git/tutanota/node_modules/rollup/dist/es/shared/rollup.js:18914:25 {
  code: 'PLUGIN_ERROR',
  plugin: 'bundle-dependency-check',
  hook: 'generateBundle'
}
然后我发现mithril可能出了问题,并尝试按照“npm安装”运行时的建议运行

这使得运行“npm安装”的第一个错误消失,但“node dist prod”以完全相同的方式失败

我可能做错了什么

npm install mithril@^1.1.5