Can not start game in DEV mode after update to 14.1.0
See original GitHub issueDescribe the bug After updating dependency from melonjs 14.0.x to 14.1.0, I get a strange error on startup which prevents my game from running in DEV mode with:
npm run dev
This is the exception:
grumpycat.bundle.js?59623714b512b3421667:2388 Uncaught TypeError: Class extends value undefined is not a constructor or null
at eval (TMXLayer.js:89:78)
at ./node_modules/melonjs/dist/melonjs.mjs/level/tiled/TMXLayer.js (grumpycat.bundle.js?59623714b512b3421667:1333:1)
at __webpack_require__ (grumpycat.bundle.js?59623714b512b3421667:2385:33)
at fn (grumpycat.bundle.js?59623714b512b3421667:2607:21)
at eval (TMXRenderer.js:6:70)
at ./node_modules/melonjs/dist/melonjs.mjs/level/tiled/renderer/TMXRenderer.js (grumpycat.bundle.js?59623714b512b3421667:1443:1)
at __webpack_require__ (grumpycat.bundle.js?59623714b512b3421667:2385:33)
at fn (grumpycat.bundle.js?59623714b512b3421667:2607:21)
at eval (TMXOrthogonalRenderer.js:7:73)
at ./node_modules/melonjs/dist/melonjs.mjs/level/tiled/renderer/TMXOrthogonalRenderer.js (grumpycat.bundle.js?59623714b512b3421667:1432:1)
eval @ TMXLayer.js:89
./node_modules/melonjs/dist/melonjs.mjs/level/tiled/TMXLayer.js @ grumpycat.bundle.js?59623714b512b3421667:1333
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ TMXRenderer.js:6
./node_modules/melonjs/dist/melonjs.mjs/level/tiled/renderer/TMXRenderer.js @ grumpycat.bundle.js?59623714b512b3421667:1443
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ TMXOrthogonalRenderer.js:7
./node_modules/melonjs/dist/melonjs.mjs/level/tiled/renderer/TMXOrthogonalRenderer.js @ grumpycat.bundle.js?59623714b512b3421667:1432
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ TMXTileMap.js:10
./node_modules/melonjs/dist/melonjs.mjs/level/tiled/TMXTileMap.js @ grumpycat.bundle.js?59623714b512b3421667:1366
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ level.js:10
./node_modules/melonjs/dist/melonjs.mjs/level/level.js @ grumpycat.bundle.js?59623714b512b3421667:1311
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ index.js:102
./node_modules/melonjs/dist/melonjs.mjs/index.js @ grumpycat.bundle.js?59623714b512b3421667:1234
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ utils.js:12
./node_modules/melonjs/dist/melonjs.mjs/utils/utils.js @ grumpycat.bundle.js?59623714b512b3421667:2125
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ container.js:5
./node_modules/melonjs/dist/melonjs.mjs/renderable/container.js @ grumpycat.bundle.js?59623714b512b3421667:1751
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ renderable.js:8
./node_modules/melonjs/dist/melonjs.mjs/renderable/renderable.js @ grumpycat.bundle.js?59623714b512b3421667:1806
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ sprite.js:9
./node_modules/melonjs/dist/melonjs.mjs/renderable/sprite.js @ grumpycat.bundle.js?59623714b512b3421667:1817
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ atlas.js:9
./node_modules/melonjs/dist/melonjs.mjs/video/texture/atlas.js @ grumpycat.bundle.js?59623714b512b3421667:2158
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ cache.js:7
./node_modules/melonjs/dist/melonjs.mjs/video/texture/cache.js @ grumpycat.bundle.js?59623714b512b3421667:2169
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ webgl_renderer.js:9
./node_modules/melonjs/dist/melonjs.mjs/video/webgl/webgl_renderer.js @ grumpycat.bundle.js?59623714b512b3421667:2334
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ video.js:15
./node_modules/melonjs/dist/melonjs.mjs/video/video.js @ grumpycat.bundle.js?59623714b512b3421667:2191
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ application.js:5
./node_modules/melonjs/dist/melonjs.mjs/application/application.js @ grumpycat.bundle.js?59623714b512b3421667:1102
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ game.js:6
./node_modules/melonjs/dist/melonjs.mjs/game.js @ grumpycat.bundle.js?59623714b512b3421667:1146
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ state.js:8
./node_modules/melonjs/dist/melonjs.mjs/state/state.js @ grumpycat.bundle.js?59623714b512b3421667:1883
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ loader.js:9
./node_modules/melonjs/dist/melonjs.mjs/loader/loader.js @ grumpycat.bundle.js?59623714b512b3421667:1465
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ bitmaptext.js:7
./node_modules/melonjs/dist/melonjs.mjs/text/bitmaptext.js @ grumpycat.bundle.js?59623714b512b3421667:1971
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ base-text-button.js:6
./src/main/client/js/util/base-text-button.js @ grumpycat.bundle.js?59623714b512b3421667:591
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ title-menu.js:6
./src/main/client/js/stage/title-menu.js @ grumpycat.bundle.js?59623714b512b3421667:547
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ title.js:8
./src/main/client/js/stage/title.js @ grumpycat.bundle.js?59623714b512b3421667:558
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
fn @ grumpycat.bundle.js?59623714b512b3421667:2607
eval @ index.js:4
./src/main/client/index.js @ grumpycat.bundle.js?59623714b512b3421667:41
__webpack_require__ @ grumpycat.bundle.js?59623714b512b3421667:2385
(anonymous) @ grumpycat.bundle.js?59623714b512b3421667:3549
(anonymous) @ grumpycat.bundle.js?59623714b512b3421667:3551
Expected behavior Game should run in DEV mode as expected
Device (please complete the following information):
- Device: MacStudio Max
- OS: macOS 13.0
- Browser: Chrome 106 + 107
- melonJS Version: 14.1.0
Additional context
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to fix Switch games not booting after a FW/CFW update
The very first and easiest solution to try out is to disable all overlays and/or dmnt cheats that could be affecting the game....
Read more >Problem after upgrade to iOS 14.1 | Apple Developer Forums
1) Camera Doesnt Work. (Front Facing or Selfie Mode) 2) Some apps open and just sit on there openening screen. Amazon for instance....
Read more >Solved: Re: Known Issue: Error saying "We're having proble...
Problem: When I toggle the developer mode switch in the Oculus iOS ... the bottom of the screen stating "We're having problems loading...
Read more >switch firmware 14.1.0 release DO NOT UPDATE - Reddit
If you are having a problem with running games then make sure you have up-to-date sigpatches. If you cannot launch tinfoil then make...
Read more >almost there trying activate dev console - Microsoft Q&A
i try update xbox is ready, i try update game is ready, ... to be the new app for activating developer mode, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I created an issue at rollup: https://github.com/rollup/rollup/issues/4704
as I’m literally out of idea on why this is happening and how to fix it 😦
FYI @L1lith
@obiot thank you very much!