Closed williamkray closed 2 years ago
Describe the bug Attempt to run the application locally with yarn start resulted in an error in the chatterbox window when starting a new chat.
yarn start
Full error:
Something went wrong… vm2 is undefined This occurred while running mountView@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:4779:12. render/<@http://localhost:3000/src/ui/views/ChatterboxView.ts:13:65 mapView/<@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:5231:31 _addReplaceNodeBinding@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:5179:26 mapView@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:5220:17 render@http://localhost:3000/src/ui/views/ChatterboxView.ts:13:9 mount@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:5027:25 mountView@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:4777:17 view@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:5217:12 mapView/<@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:5233:21 binding@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:5184:35 update@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:5051:9 _updateFromValue@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:4976:10 emit/<@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:10481:32 emit@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:10481:16 emitChange@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:20356:12 _showTimeline@http://localhost:3000/src/viewmodels/RootViewModel.ts:62:10 _setupNavigation/<@http://localhost:3000/src/viewmodels/RootViewModel.ts:29:74 emit@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:1082:8 emitIfChanged@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:20043:12 applyPath@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:19928:48 push@http://localhost:3000/node_modules/.vite/deps/hydrogen-view-sdk.js?v=37b91674:19914:17 completeRegistration@http://localhost:3000/src/viewmodels/AccountSetupViewModel.ts:70:21
To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context All changes I've made are contained in the config.json. Full diff is below:
diff --git a/public/config.json b/public/config.json index 62a90b9..53d1cba 100644 --- a/public/config.json +++ b/public/config.json @@ -1,18 +1,18 @@ { - "homeserver": "https://your-homeserver.com", + "homeserver": "https://synapse.mssj.me", "auto_join_room": "Internal matrix id of the room", "username_prefix": "foobar", "header": { "title": "Your Fancy Title", - "avatar": "https://link_to_avatar/awesome.png" + "avatar": "https://www.mssj.me/images/logo.png" }, "footer": { "chatterbox_link": "https://element.io/solutions/chatterbox-embedded-live-chat-for-customer-service", "matrix_link": "https://matrix.org" }, - "token": "Valid Token to be used with Token Authenticated Registration", - "invite_user": "@botuser:your-homeserver.com", + "token": "REDACTED", + "invite_user": "REDACTED", "encrypt_room": false, - "avatar": "https://link_to_avatar/avatar.png", + "avatar": "https://www.mssj.me/images/logo.png", "disable_composer_until_operator_join": true }
For me this was fixed by #82!
ah yes, it seems to be resolved for me. closing!
Describe the bug Attempt to run the application locally with
yarn start
resulted in an error in the chatterbox window when starting a new chat.Full error:
To Reproduce Steps to reproduce the behavior:
yarn start
to run test serverScreenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context All changes I've made are contained in the config.json. Full diff is below: