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

Requiring portal.web doesn't work in clojurescript/node #3

Open
farcaller opened this issue Mar 16, 2024 · 1 comment
Open

Requiring portal.web doesn't work in clojurescript/node #3

farcaller opened this issue Mar 16, 2024 · 1 comment

Comments

@farcaller
Copy link

farcaller commented Mar 16, 2024

playback.core requires portal.web if it's running under cljs: https://github.com/gnl/playback/blob/master/src/playback/core.cljc#L20. This immediately crashes nodejs runtime as it's missing the window global.

There needs to be some alternative that allows to use portal.web even in cljs.

@gnl
Copy link
Owner

gnl commented Mar 16, 2024

Yup, it's not node-compatible yet, looking into it for the next release. The goal is to eventually support everything Portal supports, and node's the only one that's still missing.

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

2 participants