You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read properties of undefined (reading '1')
at new CustomSong (/project/node_modules/gd.js/lib/entities/level.js:169:21)
at Level.SearchedLevel (/project/node_modules/gd.js/lib/entities/level.js:283:19)
at new Level (/project/node_modules/gd.js/lib/entities/level.js:424:24)
at SearchedLevel.<anonymous> (/project/node_modules/gd.js/lib/entities/level.js:334:51)
at step (/project/node_modules/gd.js/lib/entities/level.js:61:23)
at Object.next (/project/node_modules/gd.js/lib/entities/level.js:42:53)
at fulfilled (/project/node_modules/gd.js/lib/entities/level.js:33:58)
will yield this error, but other queries like 10565740 will work fine every time.
This also happens with some level names:
awaitgd.levels.search({query: "backboard"},1);// the same level as the ID used in the first example
From some digging, it seems like d isn't being properly populated sometimes?
console.log(d);// { '-': undefined }
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
cl3847
changed the title
Searching yields a TypeError with specfic queries/levels
Resolving yields a TypeError with specfic queries/levels
Feb 13, 2024
For example:
will yield this error, but other queries like 10565740 will work fine every time.
This also happens with some level names:
From some digging, it seems like
d
isn't being properly populated sometimes?Any help would be appreciated!
The text was updated successfully, but these errors were encountered: