webtcp icon indicating copy to clipboard operation
webtcp copied to clipboard

sh: node-waf: command not found

Open milad2golnia opened this issue 5 years ago • 1 comments

when trying npm install i get below output:

[email protected] install /home/milad/programs/webtcp/node_modules/rbytes node-waf configure build

sh: node-waf: command not found
npm WARN [email protected] No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/rbytes):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-waf configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: spawn ENOENT

audited 4 packages in 1.065s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

and by trying npm audit fix i see again same error. i searched and installed node-gyp but it doesn't solve the issue too. i think you should update the source

milad2golnia avatar Aug 04 '19 08:08 milad2golnia

Hi, i too faced this same problem. i googled nothing worked for me. later i have remove sockjs from dependency in package.json and again install it by npm i -s sockjs now, that node-waf: command not found error not came. i am able to run the examples and got expected outputs. thanks to the author @yankov

Mohamed-Abubucker avatar Oct 03 '19 07:10 Mohamed-Abubucker