GetStream/stream-video-js

yarn build:react:deps not working locally

Closed this issue · 2 comments

Which package/packages do you use?

  • @stream-io/video-react-sdk
  • @stream-io/video-react-native-sdk
  • @stream-io/video-client

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

  • Node version 20.9

Additional context
Add any other context about the problem here.

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

Beautiful, thx for the quick reply