citybound/citybound

Error: Cannot set property 'inject' of undefined

wyount opened this issue · 4 comments

I get this error every time I load http://localhost:1234

Windows 10
Google Chrome Version 81.0.4044.92 (Official Build) (64-bit)

Citybound version: v0.1.2-820-gcba41c6

Error: Cannot set property 'inject' of undefined
inject in ../src/citybound.tsx 33:4
PropTypes in ../node_modules/rc-tree-select/node_modules/rc-tree/es/contextTypes.js 41:23
function in /citybound.ac4f294e.js 81:7
OhT0":[function in /citybound.ac4f294e.js 120:3

Similar error on first attempt to http connect to local simulation server
Citybound version: citybound-v0.1.2-820-gcba41c6-windows

OS: Microsoft Windows [Version 10.0.18362.720]

(both errors on same OS instance)

Browser: Firefox 75.0 (64-bit)
Error:
window.REACT_DEVTOOLS_GLOBAL_HOOK is undefined
inject in ../src/citybound.tsx 33:4
PropTypes in ../node_modules/rc-tree-select/node_modules/rc-tree/es/contextTypes.js 41:23
function in /citybound.ac4f294e.js 81:17
OhT0":[function in /citybound.ac4f294e.js 120:3

Browser: Chrome Version 80.0.3987.132 (Official Build) (64-bit)
Error:
Cannot set property 'inject' of undefined
inject in ../src/citybound.tsx 33:4
PropTypes in ../node_modules/rc-tree-select/node_modules/rc-tree/es/contextTypes.js 41:23
function in /citybound.ac4f294e.js 81:7
OhT0":[function in /citybound.ac4f294e.js 120:3

Damn my new workaround now requires a workaround, I'll fix it.

Can you please try if it works as of this commit 33769a7

That should fix it.

downloaded citybound-v0.1.2-822-g33769a7-windows.exe
moved file from default user "Downloads" folder (USERPROFILE\Downloads) to new location (SYSTEMDRIVE\apps\citybound)

(AVG, Windows defender both complain. I trusted the file to run)

server runs, browser session connects on Windows 10, Chrome Version 80.0.3987.132 (Official Build) (64-bit)
browser session connects on Windows 10, Firefox Version 75.0 (64-bit)

Thanks!