次の構成で node-sass を構築していました。
- ウィンドウズ10 64ビット
- ノード v4.4.3 LTS 64 ビット
- ノードサス 0.3.6
- ビジュアル スタジオ 2015
git からノード リポジトリを複製し、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]