I had a problem runing:
npm run watch
Always throwing error on line 6 or 12, not sure which one but both were
including constants from js file:
# npm run watch
email@example.com watch /opt/lib-jitsi-meet
watchify JitsiMeetJS.js -s JitsiMeetJS -o lib-jitsi-meet.js -v
SyntaxError: Unexpected token (6:12) while parsing
/opt/lib-jitsi-meet/JitsiMeetJS.js while parsing file:
I checked /opt/lib-jitsi-meet/JitsiMeetJS.js and doesn't look like there is
any syntax error on those lines.
When I ran
npm run browserify
lib-jitsi-meet.js gets generated correctly and I can include it in html
Basicly I don't need watch for now, but maybe in future.
Does anyone know why it would be failing?