curiousdannii / parchment

The Interactive Fiction web app
https://iplayif.com
MIT License
429 stars 60 forks source link

window[b] is not a constructor #46

Closed javajohnHub closed 6 years ago

javajohnHub commented 7 years ago

I am trying to run parchment but when i go to the url http://localhost:3000/?story=stories/troll.z5

I receive the error:

Uncaught TypeError: window[b] is not a constructor at g.init (parchment.min.js:13) at g (parchment.min.js:13) at Array.g (parchment.min.js:13) at i (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at Object. (jquery.min.js:2) at i (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at y (jquery.min.js:4) at XMLHttpRequest.c (jquery.min.js:4)

It happens whenever i try to load a game.

curiousdannii commented 7 years ago

Which browser/OS?

What happens when you go to http://localhost:3000/parchment.full.html?story=stories/troll.z5

javajohnHub commented 7 years ago

I get the same from that address also. Using the parchment.debug.js I get the error: Uncaught TypeError: window[engine] is not a constructor at Class.init (parchment.debug.js:1143) at Class (parchment.debug.js:92) at Array.launch_callback (parchment.debug.js:1873) at fire (jquery.js:3232) at Object.fireWith [as resolveWith] (jquery.js:3362) at Object. (jquery.js:3502) at fire (jquery.js:3232) at Object.fireWith [as resolveWith] (jquery.js:3362) at done (jquery.js:9834) at XMLHttpRequest.callback (jquery.js:10300)

I am on Mac Sierra Chrome and Firefox

curiousdannii commented 7 years ago

Sorry for not replying. I'd assume that means one of the JS files wasn't loaded. Can you check the network tab?