versatica / tryit-jssip

New tryit-jssip application
https://tryit.jssip.net
Other
88 stars 102 forks source link

gulp prod errors #22

Closed juha-h closed 5 years ago

juha-h commented 5 years ago

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)
ibc commented 5 years ago

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

Should work.

juha-h commented 5 years ago

Iñaki Baz Castillo writes:

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

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

Should work.

Thanks.