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

initSync not found #4

Open
smessmer opened this issue Feb 23, 2024 · 0 comments
Open

initSync not found #4

smessmer opened this issue Feb 23, 2024 · 0 comments

Comments

@smessmer
Copy link

Commit 19235b5 broke this repository. Running the example in Screeps Arena fails with

SyntaxError: The requested module './screeps-arena-starter-rust' does not provide an export named 'initSync'
    at (<isolated-vm boundary>)

Reverting that commit makes it work again.

Looking at the generated javascript file, it looks like there is no "initSync" but there is an init function which is default exported.

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

1 participant