Forum Discussion
allensmith81
Boss
I have been trying to install this on Ubuntu via WSL in windows 10 and when I found this I was like .. OMG Thank good...
It crashes in the same places as Ubuntu does.
win_delay_load_hook.cc Done Building Project "C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\node-sass\build\bind ing.vcxproj" (default targets) -- FAILED. Done Building Project "C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\node-sass\build\bind ing.vcxproj.metaproj" (default targets) -- FAILED. Done Building Project "C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\node-sass\build\bind ing.sln" (default targets) -- FAILED. C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\node-sass\build\binding.sln" (default targ et) (1) -> "C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\node-sass\build\binding.vcxproj.metaproj" (default target) (2) -> "C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\node-sass\build\binding.vcxproj" (default target) (4) -> (ClCompile target) -> c:\users\v-allens\appdata\roaming\npm\node_modules\lithium-sdk\node_modules\node-sass\src\create_string.cpp(17): erro r C2664: 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v 8::Value>' to 'const v8::String::Utf8Value &' [C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modu les\node-sass\build\binding.vcxproj] 14 Warning(s) 1 Error(s) Time Elapsed 00:01:05.20 gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\node-gyp\lib\build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Windows_NT 10.0.20170 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\v-allens\\AppData\\Roaming\\npm\\node_modules\\lithium-sdk\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd C:\Users\v-allens\AppData\Roaming\npm\node_modules\lithium-sdk\node_modules\node-sass gyp ERR! node -v v12.18.3 gyp ERR! node-gyp -v v3.8.0
RobertT
5 years agoBoss
Hi Allen,
Looking at the error it seems it's not happy with Visual Studio when it comes to the node-gyp dependency part of the build. Visual Studio 2017 and later cause some issues unfortunately.
I think I've seen this before, if I remember correctly there is a workaround. Can you try running the following command:
npm install --global --production windows-build-tools --vs2015
following this re-run the command to install the Lithium-SDK
npm install -g lithium-sdk
Hopefully that should work.
Related Content
- 7 years ago