How to compile ffish.js into a version that can be converted by browserify? #794
-
I'm trying to test my recent pull requests by putting the results into Fairyground and have some further runs. 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 How to compile ffish.js into a version that can be converted by browserify? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You are compiling on windows, right? Generally the compiled WASM should be assumed to be platform independent, but I have never compiled it on windows, so I don't know whether that might explain the difference. You could maybe try to run it on Linux or WSL if you haven't already to check. If I find the time I might also try to reproduce myself as well, but can't promise. |
Beta Was this translation helpful? Give feedback.
-
After I compiled it in Linux, it solved the problem. So the solution is to compile it in Linux. |
Beta Was this translation helpful? Give feedback.
You are compiling on windows, right? Generally the compiled WASM should be assumed to be platform independent, but I have never compiled it on windows, so I don't know whether that might explain the difference. You could maybe try to run it on Linux or WSL if you haven't already to check. If I find the time I might also try to reproduce myself as well, but can't promise.