Unable To Run Any Languages via Local Instance #139
-
Hi @raxod502 ! This project is awesome and I'm super excited to try to get my hobby language Claro included into it if at all possible so I've been trying to get started by running a Riju instance locally but so far no luck. I'm following the instructions at https://github.com/raxod502/riju/blob/master/doc/local.md, and I'm able to access the home page via http://localhost:6119/, however, when I click into any language, there is an essentially empty page like the following: The "Run" button doesn't do anything, and the editor on the left isn't interactive. Is this expected? This may be unrelated, but I'll note that I actually am seeing the following error when running Note that it says I don't think that this is the cause of the issue because I'm still seeing the home page load these two just fine: Do you have any hints on how I can continue making progress towards onboarding Claro to Riju? If it's useful info, here's the current state of my Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey! Sorry it's difficult to get things set up locally. I have some plans of rearchitecting things so that it's less of a hassle, but I'll be happy to help you get things going as they stand. If Webpack is failing then probably no JavaScript is compiled. Have you checked the browser console? It probably says it has failed to load the required scripts. As for why Webpack is failing, it looks like this may be an upstream issue: webpack/webpack#14532. The fix was merged in webpack/webpack#14584, but I don't think it's been backported to Webpack 4, which we're stuck on because upgrading is nontrivial to say the least (#61). So, in the meantime, let's try the safest workaround suggested in the thread, which is to downgrade to Node 16. I've pushed updates to the admin and runtime Dockerfiles in cf47e68, so if you rebuild I think this error should be gone. Let me know. |
Beta Was this translation helpful? Give feedback.
Hey! Sorry it's difficult to get things set up locally. I have some plans of rearchitecting things so that it's less of a hassle, but I'll be happy to help you get things going as they stand.
If Webpack is failing then probably no JavaScript is compiled. Have you checked the browser console? It probably says it has failed to load the required scripts.
As for why Webpack is failing, it looks like this may be an upstream issue: webpack/webpack#14532. The fix was merged in webpack/webpack#14584, but I don't think it's been backported to Webpack 4, which we're stuck on because upgrading is nontrivial to say the least (#61).
So, in the meantime, let's try the safest workaround suggested in the…