I found a FATAL, easily reproducible error when I accidentally made a typo.
DO NOT DO THIS TO YOUR PROJECT
USE A NEW PROJECT
Steps to reproduce
- Create a new project.
- Rename a file to be in a folder (
folder/file.txt
) - Submit the rename.
- Rename the same file to be
folder//file.txt
(two slashes) - Submit the rename.
This will cause an error to appear in the dev tools (see below).
After reloading, you can’t enter the project and the dev tools shows: 🔥 GenericError true
BIG CRASH ERROR:
Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object
at Object.rewindToRevision (index.630caad0.js:165:1821)
at onClick (index.630caad0.js:252:1669)
at Object._te (index.630caad0.js:39:9355)
at Ete (index.630caad0.js:39:9512)
at wte (index.630caad0.js:39:9572)
at i6 (index.630caad0.js:39:28969)
at s6 (index.630caad0.js:39:29386)
at index.630caad0.js:39:34447
at gO (index.630caad0.js:43:18450)
at yte (index.630caad0.js:39:8520)
at u6 (index.630caad0.js:39:30799)
at zx (index.630caad0.js:39:18331)
at Hx (index.630caad0.js:39:17906)
at t.unstable_runWithPriority (index.630caad0.js:28:3879)
at gu (index.630caad0.js:39:38719)
at mO (index.630caad0.js:43:18304)
at Dte (index.630caad0.js:39:17695)
at HTMLDivElement.i (index.630caad0.js:69:6955)Understand this error
index.630caad0.js:123 Uncaught (in promise) Error: Folder must have a folder name
at U7 (index.630caad0.js:123:3065)
at v (index.630caad0.js:185:83611)
at v (index.630caad0.js:185:83814)
at v (index.630caad0.js:185:83814)
at Object.generateCollapsedFiletree (index.630caad0.js:185:83902)
at index.630caad0.js:168:5565
at index.630caad0.js:95:7514
at Array.map (<anonymous>)
at N (index.630caad0.js:95:7507)
at Object.sendOps (index.630caad0.js:95:9765)
at Object.renameFile (index.630caad0.js:121:17527)
at Object.OTRenameFile (index.630caad0.js:168:10390)
at Object.renameFile (index.630caad0.js:191:12684)
at k (index.630caad0.js:5164:1156)
at q (index.630caad0.js:5140:4140)
at Object._te (index.630caad0.js:39:9355)
at Ete (index.630caad0.js:39:9512)
at wte (index.630caad0.js:39:9572)
at i6 (index.630caad0.js:39:28969)
at s6 (index.630caad0.js:39:29386)
at index.630caad0.js:39:34447
at gO (index.630caad0.js:43:18450)
at yte (index.630caad0.js:39:8520)
at u6 (index.630caad0.js:39:30799)
at zx (index.630caad0.js:39:18331)
at Hx (index.630caad0.js:39:17906)
at t.unstable_runWithPriority (index.630caad0.js:28:3879)
at gu (index.630caad0.js:39:38719)
at mO (index.630caad0.js:43:18304)
at Dte (index.630caad0.js:39:17695)
at HTMLDivElement.i (index.630caad0.js:69:6955)
Please fix this Glitch.
I was working on a project with a friend, and I accidentally made a typo while renaming. Now the site is corrupt for me, I can’t join.
Thanks.