-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Description
Hi, I'm trying to try out the examples. Running:
cd social-messenger
yarn
yarn start
gets me:
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
and
cd social-messenger-ts
cp .env-example .env.development
cat .env.development
# The key of your App
REACT_APP_STREAM_KEY=qkg...key from here:
# The user id (must be a valid user in your app)
REACT_APP_USER_ID=TeleportConnect
Where do I get this from? here?
# The user token (you can use https://getstream.io/chat/docs/react/tokens_and_authentication/?language=javascript#manually-generating-tokens)
REACT_APP_USER_TOKEN=eyJ.....
Generated from https://getstream.io/chat/docs/react/tokens_and_authentication/?language=javascript#manually-generating-tokens
with UserID TeleportConnect
# Not needed for local development, you can leave it empty
REACT_APP_TARGET_ORIGIN=
yarn install
yarn start
gets me in the browser:
useConnectUser.ts:39 Failed to connect user Error: userToken does not have a user_id or is not matching with user.id
with a blank page.
Any ideas?
On a MacBook Air M2 Ventura. Node.js v18.12.1.
Metadata
Metadata
Assignees
Labels
No labels