Skip to content

Cannot read properties of undefined in HtmlApp.ts #539

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

Closed
KallynGowdy opened this issue Aug 29, 2024 · 1 comment · Fixed by #579
Closed

Cannot read properties of undefined in HtmlApp.ts #539

KallynGowdy opened this issue Aug 29, 2024 · 1 comment · Fixed by #579
Assignees
Labels
area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) bug Something isn't working

Comments

@KallynGowdy
Copy link
Member

Image

@KallynGowdy KallynGowdy converted this from a draft issue Aug 29, 2024
@KallynGowdy KallynGowdy added bug Something isn't working area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) labels Aug 29, 2024
@MostlyBen
Copy link
Contributor

Trying to reproduce this. So far, the only context I can find is when an app is unregistered while being mounted. Example:

os.unregisterApp('test');
os.registerApp('test', thisBot);

const App = () => {
    os.unregisterApp('test')
    return (
        <button onClick={() => os.toast("clicked")}>
            click me
        </button>
    )
}

os.compileApp('test', <App />);

@KallynGowdy KallynGowdy moved this from Backlog to In review in CasualOS Dec 16, 2024
@github-project-automation github-project-automation bot moved this from In review to Done in CasualOS Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants