npm run-script build doen't work.
Closed this issue · 1 comments
jh0290 commented
Hello I'm newbie to janus!
I can't find any solution to this error so I leave the issue.
I try to build by npm run-script build
, then the error is
'$' is not recognized as an internal or external command, operable program or batch file
npm ERR! code 1
npm ERR! path C:\Users\JH\Desktop\janus-gateway-js
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c "npm install && $(npm bin)/gulp "janus.js""
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\JH\AppData\Local\npm-cache\_logs\2021-02-19T03_23_38_208Z-debug.log
on WSL
The error is
Run `npm audit` for details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! janus-gateway-js@2.0.2 build: `npm install && $(npm bin)/gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the janus-gateway-js@2.0.2 build 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! /home/jh/.npm/_logs/2021-02-19T03_37_57_751Z-debug.log
environment
npm
: 7.0.3
os
: windows 10
sjkummer commented
$(npm bin)
is a placeholder for the npm directory on linux, but won't work on windows.
If you are new to this, I'll recommend to install this package using npm:
npm i janus-gateway-js