versatica / tryit-jssip

New tryit-jssip application

Home Page:https://tryit.jssip.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp prod errors

juha-h opened this issue · comments

After

npm update caniuse-lite browserslist
npm install -g npm

gulp prod

produced these (lint) errors:

15:17:32] Using gulpfile /usr/src/orig/tryit-jssip/gulpfile.js
[15:17:32] Starting 'prod'...
[15:17:32] Starting 'env:prod'...
[15:17:32] setting "prod" environment
[15:17:32] Finished 'env:prod' after 2.76 ms
[15:17:32] Starting 'clean'...
[15:17:32] Finished 'clean' after 8.89 ms
[15:17:32] Starting 'lint'...
[15:17:33] 
/usr/src/orig/tryit-jssip/lib/index.jsx
  24:22  error  Parsing error: Unexpected token /

/usr/src/orig/tryit-jssip/lib/components/App.jsx
  44:15  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/Dialer.jsx
  31:23  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/Incoming.jsx
  26:30  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/Login.jsx
  40:24  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/Logo.jsx
  18:23  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/Notifier.jsx
  101:27  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/Phone.jsx
  52:30  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/Session.jsx
  42:34  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/Settings.jsx
  34:30  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/TransitionAppear.jsx
  41:14  error  Parsing error: Unexpected token =

/usr/src/orig/tryit-jssip/lib/components/UserChip.jsx
  22:24  error  Parsing error: Unexpected token =

✖ 12 problems (12 errors, 0 warnings)

Known issue in babel plugin or similar (I do not remember).

  • Delete node_modules
  • Delete package-lock.json
  • npm install.

Should work.