ddsol / speedtest.net

node.js SpeedTest.net client module
MIT License
610 stars 125 forks source link

Not able to install #116

Open asenseofpradhyu opened 3 years ago

asenseofpradhyu commented 3 years ago

Not able to install using npm i speedtest-net

$ npm i speedtest-net

lzma-native@4.0.6 install F:\Practice Project\my-electron-app\node_modules\lzma-native node-pre-gyp install --fallback-to-build && rimraf build

node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v4.0.6-node-v83-win32-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for lzma-native@4.0.6 and node@14.15.0 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [F:\Practice Project\my-electron-app\node_modules\lzma-native\build\liblzma.vcxproj] 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 (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Windows_NT 10.0.18363 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallback-to-build" "--module=F:\Practice Project\my-electron-app\node_modules\lzma-native\binding-v4.0.6-node-v83-win32-x64\lzma_native.node" "--module_name=lzma_native" "--module_path=F:\Practice Project\my-electron-app\node_modules\lzma-native\binding-v4.0.6-node-v83-win32-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd F:\Practice Project\my-electron-app\node_modules\lzma-native gyp ERR! node -v v14.15.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=F:\Practice Project\my-electron-app\node_modules\lzma-native\binding-v4.0.6-node-v83-win32-x64\lzma_native.node --module_name=lzma_native --module_path=F:\Practice Project\my-electron-app\node_modules\lzma-native\binding-v4.0.6-node-v83-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess. (F:\Practice Project\my-electron-app\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) node-pre-gyp ERR! System Windows_NT 10.0.18363 node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "F:\Practice Project\my-electron-app\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd F:\Practice Project\my-electron-app\node_modules\lzma-native node-pre-gyp ERR! node -v v14.15.0 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=F:\Practice Project\my-electron-app\node_modules\lzma-native\binding-v4.0.6-node-v83-win32-x64\lzma_native.node --module_name=lzma_native --module_path=F:\Practice Project\my-electron-app\node_modules\lzma-native\binding-v4.0.6-node-v83-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN my-electron-app@1.0.0 No description npm WARN my-electron-app@1.0.0 No repository field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! lzma-native@4.0.6 install: node-pre-gyp install --fallback-to-build && rimraf build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lzma-native@4.0.6 install 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\Syther\AppData\Roaming\npm-cache_logs\2020-12-01T09_51_26_813Z-debug.log

Please Help..

kitsunekyo commented 3 years ago

potential duplicate #114