4

我正在使用以下配置构建 node-sass:

  • 视窗 10 64 位
  • 节点 v4.4.3 LTS 64bit
  • 节点萨斯 0.3.6
  • 视觉工作室 2015

我已经从 git 克隆了节点 repo 并将 src 添加到 PATH,但我仍然遇到这些错误:

“C:\Users\a\Project\Platform\node_modules\node-sass\build\binding.sln”(默认目标) (1) ->
“C:\Users\a\Project\Platform\node_modules\node-sass\build\binding.vcxproj.metaproj”(default target) (2) ->
“C:\Users\a\Project\Platform\node_modules\node-sass\build\binding.vcxproj”(default target) (4) ->
(ClCompile target) ->
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\binding.cpp) [C:\Users\a\Project\P
latform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\create_string.cpp) [C:\Users\a\Pro
ject\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\custom_importer_bridge.cpp) [C:\Use
rs\a\Project\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\custom_function_bridge.cpp) [C:\Use
rs\a\Project\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\color.cpp) [C:\Users\a\
Project\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\boolean.cpp) [C:\Users\a\Project\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\error.cpp) [C:\Users\a\
Project\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\factory.cpp) [C:\Users\a\Project\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\list.cpp) [C:\Users\a\P
roject\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\map.cpp) [C:\Users\a\Pr
oject\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\null.cpp) [C:\Users\a\P
roject\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\number.cpp) [C:\Users\a
\Project\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_types\string.cpp) [C:\Users\a
\Project\Platform\node_modules\node-sass\build\binding.vcxproj]
  C:\Users\a\Project\Platform\node_modules\node-sass\node_modules\nan\nan.h(23): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\sass_context_wrapper.cpp) [C:\Users
\a\Project\Platform\node_modules\node-sass\build\binding.vcxproj]

4

0 回答 0