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

AlphaTab should be available on node.js #542

Closed
2 of 5 tasks
Danielku15 opened this issue Jan 31, 2021 · 0 comments · Fixed by #544
Closed
2 of 5 tasks

AlphaTab should be available on node.js #542

Danielku15 opened this issue Jan 31, 2021 · 0 comments · Fixed by #544
Assignees

Comments

@Danielku15
Copy link
Member

Expected Results

Using alphaTab within node.js should be possible without errors.

Observed Results

Due to some strong dependencies to the browser in the JS version, you run into errors with alphaTab.

Steps to Reproduce

See #541

Further details

The main API object is not to use, but the low level APIs are platform independent enough to support this. A property in the Environment class should provide the runtime environment (browser, node or webworker). Then we can handle the corresponding checks at the required places.

Your environment

Version

  • 1.0
  • 1.1
  • 1.3-alpha.##

Flavor

  • JavaScript
  • .net

System
Node.js LTS 14.15.4 on Windows 10

@Danielku15 Danielku15 self-assigned this Jan 31, 2021
@Danielku15 Danielku15 changed the title AlphaTab should be available on node.jd AlphaTab should be available on node.js Jan 31, 2021
@Danielku15 Danielku15 added this to the [v1.3.0] Platform Improvements milestone Nov 4, 2021
@Danielku15 Danielku15 moved this to Done in Version 1.3 Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant