Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn build:react:deps not working locally #1364

Closed
2 of 3 tasks
cipriancaba opened this issue May 22, 2024 · 2 comments
Closed
2 of 3 tasks

yarn build:react:deps not working locally #1364

cipriancaba opened this issue May 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cipriancaba
Copy link

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.

@cipriancaba cipriancaba added the bug Something isn't working label May 22, 2024
@oliverlaz
Copy link
Member

oliverlaz commented May 22, 2024

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

@cipriancaba
Copy link
Author

Beautiful, thx for the quick reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants