旧的依赖项的错误比声明的错误?

时间:2018-06-04 15:32:03

标签: npm electron

在我的电子应用程序中,我安装了一些Sass-Dependencies:

  "devDependencies": {
    ...
    "node-sass": "^4.9.0",
    "sass-loader": "^7.0.2",
    ...
  },

但是当运行电子时,电子窗口中的browser-dev-tools会引发一些错误:

ModuleBuildError: Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.7.2

奇怪的是,在package.json中,依赖 node-sass 在更高版本中声明,如错误消息所示。

这可能是同伴依赖问题吗?

0 个答案:

没有答案