-
Notifications
You must be signed in to change notification settings - Fork 25
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
"Error while building custom runtime system" when building a sample program #93
Comments
Ah ok, this looks like this issue: bsansouci/reprocessing-example#7 Do you mind trying to edit your
and remove the
and then try to If that works, we should be able to just remove that from master and you should be good to go :) |
If this doesn't work, we'll probably need to add a note to the README for people with this issue to As usual, we apologize for the flakiness of our linux support and greatly appreciate the troubleshooting help :) |
Still has a problem:
(Also, my version of OpenSUSE doesn’t appear to have |
Sorry, I should have been clearer with the commands, if you have a global bs-platform install, |
|
@jdeisenberg so it sounds like removing that Yeah, with bsb-native you specify whether you want to build to native/bytecode or to js separately. Since the first "target" in the bsconfig.json is a bytecode target, it defaults to that if you don't specify a backend (like what the npm |
When trying to load the
The last error tells me that I have to run the code from a server (cross-site scripting error), so I did that, and get this set of errors:
|
@jdeisenberg the issue you were originally experiencing should have nothing to do with the web build of reprocessing and should only occur when building to native or bytecode. You can try running I'm not sure what's going on in your web build, seems like maybe require_polyfill is getting confused somehow. Can you share what browser you're using and how you're running the server? To test, we frequently just use |
I am using Server version: Apache/2.4.23 (Linux/SUSE), testing on browsers: Firefox Developer Edition 61.0b6 (64-bit) and Version 66.0.3359.170 (Official Build) (64-bit) |
Mmmh weird, why is the |
@bsansouci I think you were looking at the wrong branch ;P As far as the web errors, I don't know much about the inner workings of require-polyfill, it's possible it has some issues under certain scenarios. The python server has worked for us in the past. Maybe there's some issue with the setup of that project? @codekiln have you had any problems running on web? |
I've only done a few examples for web, and they have all worked. |
Cloned
https://github.com/codekiln/reasonml-playground
and went to thereprocessing01
directory, didnpm install
then./node_modules/.bin/bsb -make-world
and got the following output:Files in
node_modules
directory:The text was updated successfully, but these errors were encountered: