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

Mutation Observer fails in Node Environment #149

Open
JRJurman opened this issue Nov 22, 2020 · 1 comment
Open

Mutation Observer fails in Node Environment #149

JRJurman opened this issue Nov 22, 2020 · 1 comment
Labels

Comments

@JRJurman
Copy link
Member

JRJurman commented Nov 22, 2020

Summary

Currently when trying to start the app in a Node environment, or test environment (like Quokka or RunKit), the Mutation Observer (that tram-one is dependent on for effects) fails...

https://npm.runkit.com/tram-one

image

Potential Solution

We should look into mocking this Observer in Node environments, make it a no-op if it's not available, or something equivalent. Ideally the app is still able to mount, and we are able to get an initial rendering of the app.

@JRJurman JRJurman changed the title Mutation Observer fails in Node instance Mutation Observer fails in Node Environment Nov 22, 2020
@JRJurman
Copy link
Member Author

It looks like the error has since changed, and now fails on document not existing. This may have to wait until #181 has been resolved.

@JRJurman JRJurman added the hold label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant