You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm importing alphaTab as a node module in a svelte/vite project ().
While the developing mode works fine, building leads to the following error:
Unexpected early exit. This happens when Promises returned by plugins cannot resolve.
Unfinished hook action(s) on exit:
(vite:worker-import-meta-url) transform "[...]/visual-guitar-tab-comparison/visual-guitar-tab-comparison/node_modules/@coderline/alphatab/dist/alphaTab.mjs"
error during build:
Error: Unexpected early exit. This happens when Promises returned by plugins cannot resolve.
Unfinished hook action(s) on exit:
(vite:worker-import-meta-url) transform "[...]/visual-guitar-tab-comparison/visual-guitar-tab-comparison/node_modules/@coderline/alphatab/dist/alphaTab.mjs"
at process.handleBeforeExit (file:///[...]/visual-guitar-tab-comparison/visual-guitar-tab-comparison/node_modules/rollup/dist/es/shared/node-entry.js:25902:28)
at Object.onceWrapper (node:events:629:26)
at process.emit (node:events:514:28)
I suspect this happens because the worker file is not imported in the way that rollup expects it to be.
Is there an existing issue for this?
Current Behavior
I'm importing alphaTab as a node module in a svelte/vite project ().
While the developing mode works fine, building leads to the following error:
I suspect this happens because the worker file is not imported in the way that rollup expects it to be.
I created a minimal example.
Expected Behavior
vite build works without error
Steps To Reproduce
Link to jsFiddle, CodePen, Project
https://github.com/visvar/visual-guitar-tab-comparison
Found in Version
1.3-alpha
Platform
Node.js
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: