tinode / webapp

Tinode web chat using React
Apache License 2.0
323 stars 197 forks source link

Can't open in chrome #95

Closed damoncoo closed 2 years ago

damoncoo commented 2 years ago

Describe the bug Tindeo Web can not opened in chrome

To Reproduce Steps to reproduce the behavior:

  1. Run npm build and serve
  2. Open in chrome

Expected behavior Opened in chrome properly

Screenshots

截屏2022-05-20 09 34 04 截屏2022-05-20 09 33 33

Environment (please complete the following information):

Console log Uncaught ReferenceError: React is not defined at Object.react (external var "React":1:1) at __webpack_require__ (bootstrap:19:1) at make namespace object:7:1 at index.dev.js:13511:3 at index.dev.js:13513:12

Additional context NO

or-else commented 2 years ago

Run npm build and serve

Please read https://github.com/tinode/webapp#installing-and-running

damoncoo commented 2 years ago

Run npm build and serve

Please read https://github.com/tinode/webapp#installing-and-running

I have backend installed, serve with this command tinode -static_data /Users/Darcy/Desktop/code/webapp -config tinode2.conf

or-else commented 2 years ago

0.18.6 is running just fine at sandbox.tinode.co:

Screenshot_20220519-215920

damoncoo commented 2 years ago

Figured out why, jsdelivr resource not loaded in chrome. Weird, it is working now