我在节点版本 8+ 中收到以下错误

I got the following error in node version 8+

之前的节点版本是 7.9.0。该项目 运行 很好。 当我升级到 8.9.4 时,出现以下错误。

ERROR in ./node_modules/css-loader?{"sourceMap":false,"import":false}!./node_modules/postcss-loader/lib?{"ident":"postcss","sourceMap":false}!./node_modules/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!./src/sass/styles.scss
Module build failed: Error: Missing binding F:\LogicSoft-SRL\angular-frontdesk\node_modules\node-sass\vendor\win32-x64-57\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 8.x

Found bindings for the following environments:
  - Windows 64-bit with Node.js 7.x

如何在当前版本 (8.9.4) 中修复此错误?

从错误消息来看,您似乎必须为您的节点版本重建 node-sass。您可以通过 运行 来自此 answer.

的命令来执行此操作

npm rebuild node-sass

您可以找到有关重建命令的更多信息 here