LivelyKernel / lively.next

lively.next is a personal programming kit. It emphasizes liveness, directness, and interactivity.
https://lively-next.org
MIT License
65 stars 16 forks source link

Can't revert or visit a previous version #158

Open rickmcgeer opened 3 years ago

rickmcgeer commented 3 years ago

When I click on Visit, I see this: image And after a couple of minutes I see this: image

rickmcgeer commented 3 years ago

This is the error in the console: TypeError: Cannot convert undefined or null to object at Function.keys () at Object.EK [as knownModuleNames] (root_module-fd8ea0c8.js:385) at Cs.ensureCache (root_module-fd8ea0c8.js:2938) at Cs.getModuleIdsForPackageURL (root_module-fd8ea0c8.js:2939) at sj.modules (root_module-fd8ea0c8.js:2767) at sj.remove (root_module-fd8ea0c8.js:2776) at sj.reload (root_module-fd8ea0c8.js:2777) at $jscomp.generator.Engine.program (root_module-fd8ea0c8.js:403) at $jscomp.generator.Engine.nextStep (load.js:46) at $jscomp.generator.Engine.next (load.js:42) (anonymous) @ root_module-fd8ea0c8.js:5060 $jscomp.generator.Engine.nextStep @ load.js:46 $jscomp.generator.Engine.throw @ load.js:44 throw @ load.js:47 Kb @ load.js:48 Promise.then (async) Td @ load.js:48 (anonymous) @ load.js:48 $jscomp.asyncExecutePromiseGenerator @ load.js:48 $jscomp.asyncExecutePromiseGeneratorProgram @ load.js:48 visitSelectedCommit @ root_module-fd8ea0c8.js:5059 onMouseDown @ root_module-fd8ea0c8.js:5059 dispatchEvent @ root_module-fd8ea0c8.js:2696 (anonymous) @ root_module-fd8ea0c8.js:2698 dispatchDOMEvent @ root_module-fd8ea0c8.js:2698 v @ root_module-fd8ea0c8.js:2684 root_module-fd8ea0c8.js:4003 Uncaught (in promise) TypeError: f.showErrorFor is not a function at d.hasOwnProperty.d.World.d.World.showError (root_module-fd8ea0c8.js:4003) at $jscomp.generator.Engine.program (__root_module_-fd8ea0c8.js:5060) at $jscomp.generator.Engine.nextStep (load.js:46) at $jscomp.generator.Engine.throw (load.js:44) at $jscomp.generator.Generator.throw (load.js:47) at Kb (load.js:48)

merryman commented 3 years ago

Yep, this is definitely a bug. We are trying to load the world directly within the dashboard which can never work. I will fix.