How to compile ffish.js into a version that can be converted by browserify? #794
Unanswered
yjf2002ghty
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to test my recent pull requests by putting the results into Fairyground and have some further runs.
However, when I compiled ffish.js, browserify is unable to make the conversion to CommonJS which makes it runnable in a browser. None of the following commands worked:
make -f Makefile_js build
make -f Makefile_js build es6=yes
Browserify keeps showing the following error:
I've also checked the difference between the compiled file and the file comes from NPM package. It seems that the compiled version from Makefile adds a lot of
__syscall
objects while the distributed one does not.How to compile ffish.js into a version that can be converted by browserify?
Beta Was this translation helpful? Give feedback.
All reactions