terraform icon indicating copy to clipboard operation
terraform copied to clipboard

Bump node-sass to latest version.

Open olegshilov opened this issue 8 years ago • 5 comments

Hi. I'm having problems installing harp.js harp installation fails when trying to install [email protected] which is dependency for terrafom. [email protected] install correctly and wihout errors, and i suggest you need to update node-sass to latest version.

Windows 10 64-bit Node.js 9.0.0

S D:\Documents\coop-homepage> npm install harp
npm WARN deprecated [email protected]: connect 2.x series is deprecated

> [email protected] install D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-59_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-59_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location
      try setting a proxy via HTTP_PROXY, e.g.

      export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

      npm config set proxy http://example.com:8080

> [email protected] postinstall D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass
> node scripts/build.js

Building: C:\Program Files\nodejs\node.exe D:\Documents\coop-homepage\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'D:\\Documents\\coop-homepage\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "C:\Users\me\.windows-build-tools\python27\python.exe" in the PATH
gyp verb `which` failed Error: not found: C:\Users\me\.windows-build-tools\python27\python.exe
gyp verb `which` failed     at getNotFoundError (D:\Documents\coop-homepage\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (D:\Documents\coop-homepage\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (D:\Documents\coop-homepage\node_modules\which\which.js:80:29)
gyp verb `which` failed     at D:\Documents\coop-homepage\node_modules\which\which.js:89:16
gyp verb `which` failed     at D:\Documents\coop-homepage\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at D:\Documents\coop-homepage\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:166:21)
gyp verb `which` failed  C:\Users\me\.windows-build-tools\python27\python.exe { Error: not found: C:\Users\me\.windows-build-tools\python27\python.exe
gyp verb `which` failed     at getNotFoundError (D:\Documents\coop-homepage\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (D:\Documents\coop-homepage\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (D:\Documents\coop-homepage\node_modules\which\which.js:80:29)
gyp verb `which` failed     at D:\Documents\coop-homepage\node_modules\which\which.js:89:16
gyp verb `which` failed     at D:\Documents\coop-homepage\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at D:\Documents\coop-homepage\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:166:21)
gyp verb `which` failed   stack: 'Error: not found: C:\\Users\\me\\.windows-build-tools\\python27\\python.exe\n    at getNotFoundError (D:\\Documents\\coop-homepage\\node_modules\\which\\which.js:13:12)\n    at F (D:\\Documents\\coop-homepage\\n
ode_modules\\which\\which.js:68:19)\n    at E (D:\\Documents\\coop-homepage\\node_modules\\which\\which.js:80:29)\n    at D:\\Documents\\coop-homepage\\node_modules\\which\\which.js:89:16\n    at D:\\Documents\\coop-homepage\\node_modules\\isexe
\\index.js:42:5\n    at D:\\Documents\\coop-homepage\\node_modules\\isexe\\windows.js:36:5\n    at FSReqWrap.oncomplete (fs.js:166:21)',
gyp verb `which` failed   code: 'ENOENT' }
gyp verb could not find "C:\Users\me\.windows-build-tools\python27\python.exe". checking python launcher
gyp verb could not find "C:\Users\me\.windows-build-tools\python27\python.exe". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp verb check python version `C:\Python27\python.exe -c "import platform; print(platform.python_version());"` returned: "2.7.14\r\n"
gyp verb get node dir no --target version specified, falling back to host node version: 9.0.0
gyp verb command install [ '9.0.0' ]
gyp verb install input version string "9.0.0"
gyp verb install installing version: 9.0.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 9.0.0
gyp verb build dir attempting to create "build" dir: D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build
gyp verb build dir "build" dir needed to be created? D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\config.gypi
gyp verb config.gypi checking for gypi file: D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\config.gypi
gyp verb common.gypi checking for gypi file: D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.exe
gyp info spawn args [ 'D:\\Documents\\coop-homepage\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=2015',
gyp info spawn args   '-I',
gyp info spawn args   'D:\\Documents\\coop-homepage\\node_modules\\terraform\\node_modules\\node-sass\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'D:\\Documents\\coop-homepage\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\me\\.node-gyp\\9.0.0\\include\\node\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=C:\\Users\\me\\.node-gyp\\9.0.0',
gyp info spawn args   '-Dnode_gyp_dir=D:\\Documents\\coop-homepage\\node_modules\\node-gyp',
gyp info spawn args   '-Dnode_lib_file=C:\\Users\\me\\.node-gyp\\9.0.0\\<(target_arch)\\node.lib',
gyp info spawn args   '-Dmodule_root_dir=D:\\Documents\\coop-homepage\\node_modules\\terraform\\node_modules\\node-sass',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'D:\\Documents\\coop-homepage\\node_modules\\terraform\\node_modules\\node-sass\\build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\me\.node-gyp\9.0.0
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 11/14/2017 4:16:21 PM.
Project "D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|x64".
Project "D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.sln" (1) is building "D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj" (2) on node 1 (default targets
).
PrepareForBuild:
  Creating directory "Release\obj\binding\".
  Creating directory "Release\obj\binding\binding.tlog\".
InitializeBuildStatus:
  Creating "Release\obj\binding\binding.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe /c /I"C:\Users\me\.node-gyp\9.0.0\include\node" /I"C:\Users\me\.node-gyp\9.0.0\src" /I"C:\Users\me\.node-gyp\9.0.0\deps\uv\include" /I"C:\Users\me\.node-gyp\9.0.0\deps\v8
  \include" /I..\..\..\..\nan /Zi /nologo /W3 /WX- /Ox /Ob2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=binding /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE
   /D _HAS_EXCEPTIONS=0 /D BUILDING_NODE_EXTENSION /D _WINDLL /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\binding\\" /Fd"Release\obj\binding\vc140.pdb" /Gd /TP /wd4267 /wd4351 /wd4355 /wd4800 /wd425
  1 /errorReport:queue /Zc:threadSafeInit- /MP ..\src\binding.cpp ..\src\create_string.cpp ..\src\custom_function_bridge.cpp ..\src\custom_importer_bridge.cpp ..\src\sass_context_wrapper.cpp ..\src\sass_types\boolean.cpp ..\src\sass_types\color
  .cpp ..\src\sass_types\error.cpp ..\src\sass_types\factory.cpp ..\src\sass_types\list.cpp ..\src\sass_types\map.cpp ..\src\sass_types\null.cpp ..\src\sass_types\number.cpp ..\src\sass_types\string.cpp "D:\Documents\coop-homepage\node_modules\
  node-gyp\src\win_delay_load_hook.cc"
  binding.cpp
  create_string.cpp
  custom_function_bridge.cpp
  custom_importer_bridge.cpp
  sass_context_wrapper.cpp
  boolean.cpp
  color.cpp
  error.cpp
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\custom_importer_bridge.cpp) [D:\Documents\coop-homepage\node_modules\terraform\nod
e_modules\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\custom_importer_bridge.cpp)
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\binding.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-
sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\binding.cpp)
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\custom_function_bridge.cpp)d:\documents\coop-homepage\node_modules\nan\nan_maybe_4
3_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\error.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]

  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\error.cpp)c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object:
  :ForceSet' (compiling source file ..\src\custom_function_bridge.cpp)
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\create_string.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules
\node-sass\build\binding.vcxproj]

  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\create_string.cpp)d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Obje
  ct::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\boolean.cpp)
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\boolean.cpp)

d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\color.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modu
les\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\color.cpp)
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\custom_importer_bridge.h(5): fatal error C1083: Cannot open include file: 'sass/functions.h': No such file or directory (compiling source file ..\src\custom_importer_b
ridge.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  factory.cpp
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_context_wrapper.h(8): fatal error C1083: Cannot open include file: 'sass/context.h': No such file or directory (compiling source file ..\src\binding.cpp) [D:\Docu
ments\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\custom_function_bridge.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\custom_function_brid
ge.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\error.cpp) [D:\
Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\boolean.cpp) [D
:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  list.cpp
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\color.cpp) [D:\
Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  map.cpp
  null.cpp
  number.cpp
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_context_wrapper.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_
modules\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_context_wrapper.cpp)
  string.cpp
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_context_wrapper.h(8): fatal error C1083: Cannot open include file: 'sass/context.h': No such file or directory (compiling source file ..\src\sass_context_wrapper.
cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  win_delay_load_hook.cc
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\factory.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_mo
dules\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\factory.cpp)
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\number.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_mod
ules\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\number.cpp)
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\list.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modul
es\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\list.cpp)
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\map.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_module
s\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\map.cpp)
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\string.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_mod
ules\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\string.cpp)
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\factory.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\factory.cpp)
[D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\null.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modul
es\node-sass\build\binding.vcxproj]
  c:\users\me\.node-gyp\9.0.0\include\node\v8.h(3117): note: see declaration of 'v8::Object::ForceSet' (compiling source file ..\src\sass_types\null.cpp)
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\number.cpp) [D:
\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\list.cpp) [D:\D
ocuments\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\map.cpp) [D:\Do
cuments\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\string.cpp) [D:
\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\null.cpp) [D:\D
ocuments\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
Done Building Project "D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj" (default targets) -- FAILED.

Done Building Project "D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.sln" (default targets) -- FAILED.


Build FAILED.

"D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.sln" (default target) (1) ->
"D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj" (default target) (2) ->
(ClCompile target) ->
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\custom_importer_bridge.cpp) [D:\Documents\coop-homepage\node_modules\terraform\n
ode_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\binding.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\nod
e-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\custom_function_bridge.cpp)d:\documents\coop-homepage\node_modules\nan\nan_maybe
_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\error.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\create_string.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modul
es\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\color.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_mo
dules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_context_wrapper.cpp) [D:\Documents\coop-homepage\node_modules\terraform\nod
e_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\factory.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_
modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\number.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_m
odules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\list.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_mod
ules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\map.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modu
les\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\string.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_m
odules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\nan\nan_maybe_43_inl.h(112): warning C4996: 'v8::Object::ForceSet': was declared deprecated (compiling source file ..\src\sass_types\null.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_mod
ules\node-sass\build\binding.vcxproj]


"D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.sln" (default target) (1) ->
"D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj" (default target) (2) ->
(ClCompile target) ->
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\custom_importer_bridge.h(5): fatal error C1083: Cannot open include file: 'sass/functions.h': No such file or directory (compiling source file ..\src\custom_importer
_bridge.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_context_wrapper.h(8): fatal error C1083: Cannot open include file: 'sass/context.h': No such file or directory (compiling source file ..\src\binding.cpp) [D:\Do
cuments\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\custom_function_bridge.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\custom_function_br
idge.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\error.cpp) [D
:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\boolean.cpp)
[D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\color.cpp) [D
:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_context_wrapper.h(8): fatal error C1083: Cannot open include file: 'sass/context.h': No such file or directory (compiling source file ..\src\sass_context_wrappe
r.cpp) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\factory.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\factory.cpp
) [D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\number.cpp) [
D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\list.cpp) [D:
\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\map.cpp) [D:\
Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\string.cpp) [
D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]
  d:\documents\coop-homepage\node_modules\terraform\node_modules\node-sass\src\sass_types\value.h(5): fatal error C1083: Cannot open include file: 'sass/values.h': No such file or directory (compiling source file ..\src\sass_types\null.cpp) [D:
\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass\build\binding.vcxproj]

    12 Warning(s)
    13 Error(s)

Time Elapsed 00:00:03.45
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (D:\Documents\coop-homepage\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:135:13)
gyp ERR! stack     at ChildProcess.emit (events.js:224:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\Documents\\coop-homepage\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\Documents\coop-homepage\node_modules\terraform\node_modules\node-sass
gyp ERR! node -v v9.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN Error: EPERM: operation not permitted, scandir 'D:\Documents\coop-homepage\node_modules\terraform\node_modules'
npm WARN  { Error: EPERM: operation not permitted, scandir 'D:\Documents\coop-homepage\node_modules\terraform\node_modules'
npm WARN   stack: 'Error: EPERM: operation not permitted, scandir \'D:\\Documents\\coop-homepage\\node_modules\\terraform\\node_modules\'',
npm WARN   errno: -4048,
npm WARN   code: 'EPERM',
npm WARN   syscall: 'scandir',
npm WARN   path: 'D:\\Documents\\coop-homepage\\node_modules\\terraform\\node_modules' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\me\AppData\Roaming\npm-cache\_logs\2017-11-14T13_16_26_308Z-debug.log

olegshilov avatar Nov 14 '17 13:11 olegshilov

find some workaround. install [email protected] separately as project dependency do the trick and harp install without any issues.

  1. install node-sass with npm install [email protected]
  2. install other dependencies with npm install

olegshilov avatar Nov 14 '17 13:11 olegshilov

I'm getting a segmentation fault on OSX due to the version of node-sass that terraform is using. Forcing terraform to use node-sass 4.8.3 fixed the issue. Can we have terraform use the latest (and also update harp?)

dwarcher avatar Apr 19 '18 14:04 dwarcher

I'm also experiencing this issue, the only working node-sass for Node 10 is 4.9 and no backport is expected. Would love to see this update, too!

vip3rousmango avatar Oct 26 '18 19:10 vip3rousmango

Hi, now it is NODE 10 and 4.10. Could you please perform an node-sass update ?

Rozarkk avatar Nov 15 '18 14:11 Rozarkk

@vip3rousmango @Rozarkk we see and will get to this soon. Thank you for your patience. Feel free to install node-sass on your own working version if you have those skills for the interim.

misterhtmlcss avatar Nov 16 '18 18:11 misterhtmlcss