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
The resulting code relies on NodeJS-esque require() as well as Node modules such as os. In my eyes, js_browser backend should produce code that is able to run in any modern browser.
Describe the bug
After compiling a simple v file with the
js_browser
backend, and loading this script in an HTML page, an error is seen in the browser's console:Reproduction Steps
Expected Behavior
Browser's console to display "hello world"
Current Behavior
Browser's console shows an error:
Possible Solution
All 4 JS backend "flavors" produce the same JS code:
The resulting code relies on NodeJS-esque
require()
as well as Node modules such asos
. In my eyes,js_browser
backend should produce code that is able to run in any modern browser.Additional Information/Context
No response
V version
V 0.4.6 4a7c70c
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: