Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Unfortunately I can not start it. It gives me "TypeError: Cannot read properties of undefined (reading 'trees')"

Deleted 1 year ago

can you tell me how to replicate it?

(+1)

I just opened the page on ubuntu 20.04 64 bit on chrome Version 112.0.5615.49 (Official Build) (64-bit)


The javascript console prints the following, not sure if that helps with debugging?


caught TypeError: Cannot read properties of null (reading 'map')
    at importData (migrate.js:5:32)
    at migrate.js:57:1
main.js:272 Uncaught TypeError: Cannot read properties of undefined (reading '0')
    at renderTrees (main.js:272:29)
    at main.js:254:1
stuff.js:10 Uncaught TypeError: Cannot read properties of undefined (reading 'trees')
    at Item.price (stuff.js:10:60)
    at shop.js:33:31
    at Array.forEach (<anonymous>)
    at Shop.addItems (shop.js:26:16)
    at shop.js:44:13

thank you this is really useful. I don't know how this could happen but I have implemented a fix (which might not work).

Thank you for taking a look. Unfortunately I get the same error.