I cant install out-ping library in Nodejs [closed]

I have code that I need to run on my laptop but whenever I try to install (out-ping package) it shows this error, I tried to install (fsevents) to solve the error it didn't work too plz help me thank you

PS C:\Users\admin\nodeex> npm i net-ping --save

npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.

raw-socket@1.7.0 install C:\Users\admin\nodeex\node_modules\raw-socket node-gyp rebuild

C:\Users\admin\nodeex\node_modules\raw-socket>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - "python" is not in PATH or produced an error gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\admin\nodeex\node_modules\raw-socket gyp ERR! node -v v14.15.3 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok

npm ERR! Failed at the raw-socket@1.7.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.



from Recent Questions - Stack Overflow https://ift.tt/3aAXMTR
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Object oriented programming concepts (OOPs)

Spring Webflux : How to return HTTP 200 response with body when the called service returns HTTP 201 without body with WebClient?