Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

[Solved] Lost In The Stack

So when ever I try to do Lost in the Stack in the Kithgard Dungeon I get this error.

Not sure if its just me and I need to do something or what. Didn’t see anything posted about it so I’m posting.

Have to tried any of those options? If not please post the console log message or try a different browser

Click comment out your code. If you have already done the level, then it is probably some code that you did an infinite loop or something.

Tried all the options nothing fixed it. I reset all my progress so I never did the level.

Can you post the console log message here?

Here ya go https://imgur.com/a/ZrEhIYz

The image quality is bad. I can’t see it. Do you mind posting the output from the console using copy/paste and post it here using the </> button? Thanks

Modern javascript detected, aw yeah!
/758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:121 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
/758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:121 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
0ykP68INoOVRZMi42LjI.js:66 [Deprecation] chrome.loadTimes() is deprecated, instead use standardized API: Paint Timing. https://www.chromestatus.com/features/5637885046816768.
R @ 0ykP68INoOVRZMi42LjI.js:66
createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:34 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
i._createAudioContext @ createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:34
/758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:156 Did-Load-Route
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Poll will be ready in 16.995239444444444 hours.
connect.facebook.net/en_US/fbevents.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 THREE.WebGLRenderer 71
/758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:58 Saw view load event campaign-view campaign-view
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:30 LevelSetupManager given preloaded session: c273
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside getRenderData
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside afterRender
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside afterInsert
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 requireLevelEquipment called from afterInsert
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside requireLevelEquipment
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 t
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside requireLevelEquipment
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 t
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside getRenderData
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside afterRender
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside onLoaded
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside onItemsLoaded
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 requireLevelEquipment called from onItemsLoaded
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside requireLevelEquipment
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 t
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside unequipClassRestrictedItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside unequipLevelRestrictedItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 inside updateLevelRequiredItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 inside executtion of updateLevelRequiredItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 @remainingRequiredEquipment.length: 0
111/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside sortItem
2/javascripts/chunks/createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:1 Kindling Elemental is not an item, but you are asking for its stats.
r.getFrontFacingStats @ /javascripts/chunks/createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:1
20/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside sortItem
2/javascripts/chunks/createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:1 Metallic Spider Pet is not an item, but you are asking for its stats.
r.getFrontFacingStats @ /javascripts/chunks/createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:1
69/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside sortItem
2/javascripts/chunks/createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:1 Shiver is not an item, but you are asking for its stats.
r.getFrontFacingStats @ /javascripts/chunks/createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:1
38/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside sortItem
2/javascripts/chunks/createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:1 Tiger cub is not an item, but you are asking for its stats.
r.getFrontFacingStats @ /javascripts/chunks/createjs-app-4d9d8647d4f6d3a6e44b.bundle.js:1
31/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside sortItem
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside getRenderData
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside afterRender
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside setUpDraggableEventForAvailableEquipment
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside setUpDraggableEventsForEquippedArea
18/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside makeEquippedSlotDraggable
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 requireLevelEquipment called from afterRender
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside requireLevelEquipment
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 t
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside unequipClassRestrictedItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside unequipLevelRestrictedItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 inside updateLevelRequiredItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 inside executtion of updateLevelRequiredItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 @remainingRequiredEquipment.length: 0
/758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:58 Saw view load event inventory-modal inventory-modal
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside requireLevelEquipment
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 t
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside unequipClassRestrictedItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside unequipLevelRestrictedItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 inside updateLevelRequiredItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 inside executtion of updateLevelRequiredItems
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 @remainingRequiredEquipment.length: 0
/javascripts/chunks/three-app-4781697091284dd7f84e.bundle.js:16 Inside updateConfig
/javascripts/chunks/play-746480af3c46c62e5b96.bundle.js:1 PlayLevelView: loaded session e
/758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:58 Schema not found for snowplow action:  premium_feature_viewed Object
o.trackSnowplow @ /758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:58
/758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:156 Did-Load-Route
(unknown) Generated random seed 1636131395 of type submissionCount from sessionIDs Array(1) submissionCount 0
/javascripts/chunks/ace-app-e1e8b74202d3daf5180a.bundle.js:1 Automatically scrolling cursor into view after selection change this will be disabled in the next version set editor.$blockScrolling = Infinity to disable this message
o @ /javascripts/chunks/ace-app-e1e8b74202d3daf5180a.bundle.js:1
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:1 |Marduk's Cyril| Modern javascript detected, aw yeah!
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:1 |Marduk's Cyril| Worker initialized after 273ms
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:266 Marduk: Let there be light upon Lost in the Stacks! (preload: false)
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:1 |Marduk's Cyril| Generated random seed 1636131395 of type submissionCount from sessionIDs 5c2ba5e45105e5002fefa5da submissionCount 0
aether_worker.js:9 Modern javascript detected, aw yeah!
aether_worker.js:9 Modern javascript detected, aw yeah!
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:1 |Marduk's Woodhouse| Modern javascript detected, aw yeah!
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:1 |Marduk's Woodhouse| Worker initialized after 128ms
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:1 |Marduk's Cyril| Non-UserCodeError: Error: Unknown AST Node Type: [object Object]
Error: Unknown AST Node Type: [object Object]
    at Evaluator.findNextStep (https://codecombat.com/javascripts/esper.modern.js:5136:10)
    at Evaluator.branch (https://codecombat.com/javascripts/esper.modern.js:1327:24)
    at Evaluator.pushAST (https://codecombat.com/javascripts/esper.modern.js:883:22)
    at Engine.loadAST (https://codecombat.com/javascripts/esper.modern.js:616:18)
    at t.ASTParser.initParser (eval at World.loadClassFromCode (https://codecombat.com/javascripts/world.js:48:367754), <anonymous>:21:19)
    at t.ASTParser.astFind (eval at World.loadClassFromCode (https://codecombat.com/javascripts/world.js:48:367754), <anonymous>:60:12)
    at t.eval (eval at Referee.attach (eval at World.loadClassFromCode (https://codecombat.com/javascripts/world.js:48:367754)), <anonymous>:25:19)
    at t.onFirstFrame (eval at Referee.attach (eval at World.loadClassFromCode (https://codecombat.com/javascripts/world.js:48:367754)), <anonymous>:34:8)
    at t.callChainedMethod (https://codecombat.com/javascripts/world.js:48:57151)
    at t.p [as onFirstFrame] (https://codecombat.com/javascripts/world.js:48:6070)
    at t.Referee.chooseAction (eval at World.loadClassFromCode (https://codecombat.com/javascripts/world.js:48:367754), <anonymous>:220:12)
    at t.callChainedMethod (https://codecombat.com/javascripts/world.js:48:57151)
    at t.p [as chooseAction] (https://codecombat.com/javascripts/world.js:48:6070)
    at Action.playActor (eval at World.loadClassFromCode (https://codecombat.com/javascripts/world.js:48:367754), <anonymous>:61:17)
    at Action.update (eval at World.loadClassFromCode (https://codecombat.com/javascripts/world.js:48:367754), <anonymous>:29:20)
    at t.getNextFrame (https://codecombat.com/javascripts/world.js:48:74566)
    at World.getFrame (https://codecombat.com/javascripts/world.js:48:359456)
    at World.loadFrames (https://codecombat.com/javascripts/world.js:48:361831)
    at runWorld (https://codecombat.com/javascripts/workers/worker_world.js:414:14)
    at https://codecombat.com/javascripts/workers/worker_world.js:569:24
/758d5dbb4ea988084f7ffaad95edd1bfa10d0eac-3c461a425ff6715dfe9b79504e17ae92da199bf6/javascripts/app.js:58 Saw view load event #infinite-loop-modal #infinite-loop-modal
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:1 |Marduk's Cyril| Modern javascript detected, aw yeah!
/javascripts/chunks/aether-app-7d7eb234ea8feeaab963.bundle.js:1 |Marduk's Cyril| Worker initialized after 133ms
DevTools failed to parse SourceMap: https://codecombat.com/play/level/treema.css.map

Doesn’t seem to be a problem with the level. Have you tried chrome?

My default browser I use is chrome, I haven’t tried any other browsers though

Try that. It’s usually a problem with browsers.

Just tried Microsoft Edge and Vivaldi, only 2 other browsers I have installed. Same error.

What programming language are you using?

I’m using JavaScript

Try python. I think that might be the problem

Alright, ill have to unlock all the levels again right? Never used Python before.

Idk how I fixed it but I tried Python it didn’t work then I tried coffee script it didn’t work, so I went back to Java Script and it worked. How ever I’m not familar with Python, but isn’t this how you write while loops in python?

You write a while looping Java Script like
white(true) { something happens };

Hi,
what you’re doing here:

while True do

is pseudocode, you only need the while True and a : on the end of every statement like the { in java-script except it’s straight after the while True and doesn’t need to be closed with something like }.
And the identifier (the thing which makes it a comment) is # in python not —.
Hope this helps.
:lion: :lion: :lion:

Well the problem with that whole challenge seems to be that its setup in Python. But if you look I am on JavaScript for my language so too get that challenge to work in Java Script you need to change the language you are using from JavaScript to Python than back to Java Script. Then once you load the level the code will still be in Python so you need to do delete all the code and write a while loop in JavaScript to pass the challenge.