- Install dependencies
npm install
- Run sample app
npm start
- Open browser at
http://localhost:3000/
-
If you have trouble running the
npm start:Sample app dependencies conflict sometimes with the SDK root dependencies. Make sure the
/js-sdk/node_modulesis deleted before runningnpm starton/js-sdk/samples/react-sample. -
If
npm startfails with "error:0308010C:digital envelope routines::unsupported":Modify the
startscript inpackage.jsonto usereact-scripts --openssl-legacy-provider start. (For more details, see this answer.)