Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'start' of undefined #1

Open
cternoey opened this issue Oct 1, 2019 · 2 comments
Open

Uncaught TypeError: Cannot read property 'start' of undefined #1

cternoey opened this issue Oct 1, 2019 · 2 comments

Comments

@cternoey
Copy link

cternoey commented Oct 1, 2019

This project looks really helpful. But when I compile and run, I get an error every time (using both chrome and Edge).

Do you know how I can fix this?

core.es.js:5284 Uncaught TypeError: Cannot read property 'start' of undefined
at BatchSystem.setObjectRenderer (core.es.js:5284)
at Graphics._render (graphics.es.js:3101)
at Graphics.render (display.es.js:1615)
at Container.render (display.es.js:1620)
at Renderer.render (core.es.js:10812)
at Application.render (app.es.js:73)
at Module../src/index.ts (index.ts:36)
at webpack_require (bootstrap:19)
at Object.0 (index.ts:52)
at webpack_require (bootstrap:19)

BatchSystem.prototype.setObjectRenderer = function setObjectRenderer (objectRenderer)
{
    if (this.currentRenderer === objectRenderer)
    {
        return;
    }
    this.currentRenderer.stop();
    this.currentRenderer = objectRenderer;
    this.currentRenderer.start();
};
@bigtimebuddy
Copy link
Owner

I'm unable to reproduce this on the latest.

@AlekhineDev
Copy link

Got the same error after cloning the repo and doing a npm run start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants