GetStream / stream-video-js

GetStream JavaScript Video SDK
https://getstream.io/video/sdk/
Other
66 stars 22 forks source link

yarn build:react:deps not working locally #1364

Closed cipriancaba closed 4 months ago

cipriancaba commented 4 months ago

Which package/packages do you use?

Describe the bug Cannot start the react-dogfood locally

❯ yarn build:react:deps
[!] SyntaxError: Unexpected token 'with'
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:118:18)
    at callTranslator (node:internal/modules/esm/loader:273:14)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:30)
    at link (node:internal/modules/esm/module_job:76:21)

❯ yarn --version
3.5.0
❯ node --version
v20.9.0

To Reproduce Steps to reproduce the behavior:

  1. Clone repo
  2. follow README from react-dogfood

Expected behavior react-dogfood starts locally

Screenshots If applicable, add screenshots to help explain your problem.

Version

latest

Env:

React / JS client Node JS client

Additional context Add any other context about the problem here.

oliverlaz commented 4 months ago

hi @cipriancaba, please update to the latest LTS version of Node - v20.13.1. This Node version supports the import ... with {} syntax.

cipriancaba commented 4 months ago

Beautiful, thx for the quick reply