-
Notifications
You must be signed in to change notification settings - Fork 50
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
Get local development server to work again #220
Comments
Here's what I've tried doing. To sum the below comment, I tried updating the dependencies (didn't work) and I noticed that the server starts if the I've tried updating the I also ran the following to see which modules were reported as not being found:
I noticed that the output does not include I have confirmed that (2) is false. If I remove all packages in the This implies that some other module is breaking things. |
After doing the above (i.e.
|
I then created a new folder |
Found the source of the issue. In this test, I only have e <- runExceptT $ do
modules <- ExceptT $ I.loadAllModules inputFiles
+ liftIO $ traverse print $ fmap fst modules
(exts, env) <- ExceptT . I.runMake . I.make $ map (second CST.pureResult) modules
namesEnv <- fmap fst . runWriterT $ foldM P.externsEnv P.primEnv exts
pure (exts, namesEnv, env) it produced this output when I ran the command:
You'll notice a few issues:
This implies that top-level files in the source globs aren't being included for some reason. In other words, a source glob of So, I edited the files in In short, there's a bug in the globs. I'm not sure how that needs to be fixed, but it's at least a better direction than what we had before. |
Nice find! See if you can work out whether your shell is expanding the globs? I think if you can get the globs to not be expanded by the shell, they'll be expanded by |
Try |
Thanks for the tip. I'll try it out on my lunch break.
|
Yup! That fixes it! We need to run |
Ha... Wish I would have realized the implication of this sooner |
Currently, following the instructions here do not work. Further exploration has revealed that things break in this line, which matches the same code used in the REPL command.
While this is related to #183 and #219 in that we need to update the instructions, this issue is specifically about figuring out why the server can't start.
The text was updated successfully, but these errors were encountered: