I attempted to update roc for the first time, on a simple project containing just a single main.roc file. The previous version was maybe a couple weeks old (I might be misremembering, and it might be older...I can check if necessary). I did the following:
1) Updated to the current master branch version of roc (I use a nix flake to do this; it's possible there could be a bug in the roc flake).
2) In my main.roc, updated basic-cli from 0.17.0 to 0.18.0, using the recommended path.
3) Changed all my platform and stdlib functions to use snake case.
When I attempt to to run "roc dev," I get a bunch of error messages that mostly involve stdlib and platform functions not being in snake case as expected. I guess this means that some part of my roc setup failed to get updated? I'd appreciate some assistance in working out what I missed. I'm pasting in a sampling of the errors below.
Thank you for the help.
── NOT EXPOSED in ...18.0/0APbwVN1_p1mJ96tXjaoiUCr8NBGamr8G8Ac_DrXR-o/main.roc ─
The Str module does not expose isEmpty
:
41│ if Str.isEmpty msg then
^^^^^^^^^^^
Did you mean one of these?
Str.is_empty
Str.concat
Str.repeat
Str.trim
── NOT EXPOSED in ...18.0/0APbwVN1_p1mJ96tXjaoiUCr8NBGamr8G8Ac_DrXR-o/main.roc ─
The Inspect module does not expose toStr
:
51│ $(Inspect.toStr msg)
^^^^^^^^^^^^^
Did you mean one of these?
Inspect.to_str
Inspect.str
Inspect.init
Inspect.list
── NOT AN ABILITY MEMBER in ...wVN1_p1mJ96tXjaoiUCr8NBGamr8G8Ac_DrXR-o/Arg.roc ─
The Inspect ability does not have a member toInspector
18│ implements [Eq, Inspect { toInspector: arg_inspector }]
^^^^^^^^^^^
Only implementations for members an ability has can be specified in
this location.
Current master version of roc is implementing a lot of breaking changes
You have to use the lastest release from GitHub if you want it to be compatible. Not sure exactly what commit hash that is off the top of my head
Otherwise, you could try using the version of basic-cli directly on main instead of the release of basic-cli
Ah ok, so I should be using the nightly builds? And then that should be compatible with the lastest basic-cli release?
Yeah
Got it, thanks
Hm, I went to the nightly builds and followed the nix-specific directions (nix-build https://github.com/roc-lang/roc/archive/main.tar.gz), and I got the same errors. Maybe nix isn't great for following the nightly builds right now.
Or actually maybe basic-cli version 0.18.0 is behind the nightly build's stdlib. I can see it hasn't been updated with snake case for various stdlib functions and abilities.
As seen in this code:
write! : Str => Result {} [StdoutErr IOErr]
write! = \str ->
Host.stdout_write! str
|> Result.mapErr handle_err
basic-cli
v0.18.0 uses camelCase for builtins from the Roc compiler, but snake_case for everything else
Meaning we need to get you a Roc version that has camelCase builtins
Let me check the nightlies
Okay, yeah
So if I use the URL from v0.18.0 of the basic-cli releases: https://github.com/roc-lang/basic-cli/releases/tag/0.18.0
And the binary for my architecture from the latest nightly (not TESTING!): https://github.com/roc-lang/roc/releases
Then I can run this code:
app [main!] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.18.0/0APbwVN1_p1mJ96tXjaoiUCr8NBGamr8G8Ac_DrXR-o.tar.br" }
import pf.Stdout
main! = \args ->
Stdout.line! "$(Inspect.toStr args)"
~/Downloads/roc_nightly-linux_x86_64-2025-01-07-a089cf2
❯ ./roc ../dow-test.roc arg test
["../dow-test.roc", "arg", "test"]
@Sam Mohr Thanks. Yeah, I'm seeing also that the source for the nightly build has camel case for builtins. So the issue is that the NixOS-specific instructions at https://github.com/roc-lang/roc/releases/tag/nightly don't actually build from the nightly. I can probably find a work-around.
Try using this instead: https://github.com/roc-lang/roc/archive/refs/tags/nightly.tar.gz
with nix-build
Thanks, the issue is that the nightly build doesn't have a flake.nix file, which is strange because the master branch does have it. So nix-build doesn't work.
On the other hand, the nightly build does have a shell.nix file. So you can download the source manually, navigate to it, and run nix-shell. But I get glibc errors, so probably it needs updating.
You could always install the right libraries "globally" with nix-ld
: https://github.com/smores56/nix-config/blob/86961e6b24bc18a09a58f8422a83b60887d804b3/modules/nixos/default.nix#L3
Not an elegant solution, but a working one from my (perhaps outdated) experience
I think the most straightforward solution is probably just to get the nightly binary working with nix-ld.
Actually I didn't know you could add libraries to nix-ld that way. That's helpful because when I tried to run the binary on NixOS I got an error about libtinfo. I guess I should be able to add it to nix-ld and be good.
Thanks for the help.
Yup, that worked. Thanks again.
Great!
NixOS instructions have been updated
Anton said:
NixOS instructions have been updated
Thanks, this works great. I'll note that it builds only roc, not the roc_language_server. Not a problem for me personally, as I'm using the nightly binary.
The language server can be built with nix-build https://github.com/roc-lang/roc/archive/a089cf2.tar.gz -A packages.x86_64-linux.lang-server
, I'll add that to the NixOS notes
@Anton any tips for getting past this glibc error? Is this the same issue? I'm trying to build the website.
jan@framey:~/_code/roc-lang/roc$ ./www/build.sh
+ jq --version
jq-1.7.1
++ dirname ./www/build.sh
+ SCRIPT_RELATIVE_DIR=./www
+ cd ./www
+ rm -rf build/
+ cp -r public/ build/
+ rm -rf content/examples/
+ echo 'Downloading latest examples...'
Downloading latest examples...
+ curl -fL -o examples-main.zip https://github.com/roc-lang/examples/archive/refs/heads/main.zip
curl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/nrr9qkx1pg9d3bypardwmz4q4n7cz2h4-libffi-3.4.6/lib/libffi.so.8)
jan@framey:~/_code/roc-lang/roc$
A message was moved here from #compiler development > breaking changes by JanCVanB.
You need to add curl to the flake.nix, I'll fix it on main, I thought I already did that
merged :)
@Anton any ideas on this?
jan@framey:~/_code/roc-lang/roc$ ./www/build.sh
+ jq --version
jq-1.7.1
++ dirname ./www/build.sh
+ SCRIPT_RELATIVE_DIR=./www
+ cd ./www
+ rm -rf build/
+ cp -r public/ build/
+ rm -rf content/examples/
+ echo 'Downloading latest examples...'
Downloading latest examples...
+ curl -fL -o examples-main.zip https://github.com/roc-lang/examples/archive/refs/heads/main.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 81405 100 81405 0 0 123k 0 --:--:-- --:--:-- --:--:-- 123k
+ rm -rf examples-main/
+ unzip -o -q examples-main.zip
+ cp -R examples-main/examples/ content/examples/
+ perl -pi -e 's|\]\(/|\]\(/examples/|g' content/examples/index.md
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
+ rm -rf examples-main examples-main.zip
+ DESIGN_ASSETS_COMMIT=4d949642ebc56ca455cf270b288382788bce5873
+ DESIGN_ASSETS_TARFILE=roc-lang-design-assets-4d94964.tar.gz
+ DESIGN_ASSETS_DIR=roc-lang-design-assets-4d94964
+ curl -fLJO https://github.com/roc-lang/design-assets/tarball/4d949642ebc56ca455cf270b288382788bce5873
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 415k 100 415k 0 0 527k 0 --:--:-- --:--:-- --:--:-- 527k
+ tar -xzf roc-lang-design-assets-4d94964.tar.gz
+ mv roc-lang-design-assets-4d94964/fonts build/
+ rm -rf roc-lang-design-assets-4d94964.tar.gz roc-lang-design-assets-4d94964
+ pushd build
~/_code/roc-lang/roc/www/build ~/_code/roc-lang/roc/www
+ curl -fLJO https://github.com/roc-lang/roc/archive/www.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3181k 0 3181k 0 0 991k 0 --:--:-- 0:00:03 --:--:-- 1103k
+ REPL_TARFILE=roc_repl_wasm.tar.gz
+ curl -fLJO https://github.com/roc-lang/roc/releases/download/nightly/roc_repl_wasm.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2300k 100 2300k 0 0 1500k 0 0:00:01 0:00:01 --:--:-- 2038k
+ mkdir repl
+ tar -xzf roc_repl_wasm.tar.gz -C repl
+ rm roc_repl_wasm.tar.gz
+ ls -lh repl
total 6.6M
-rw-r--r-- 1 jan jan 13K Jan 7 02:07 roc_repl_wasm.js
-rw-r--r-- 1 jan jan 6.6M Jan 7 02:07 roc_repl_wasm_bg.wasm
+ popd
~/_code/roc-lang/roc/www
+ pushd ..
~/_code/roc-lang/roc ~/_code/roc-lang/roc/www
+ cargo --version
cargo 1.77.2 (e52e36006 2024-03-26)
+ export ROC_DOCS_URL_ROOT=/builtins
+ ROC_DOCS_URL_ROOT=/builtins
+ cargo run --release --bin roc-docs crates/compiler/builtins/roc/main.roc
Finished release [optimized] target(s) in 0.19s
Running `target/release/roc-docs crates/compiler/builtins/roc/main.roc`
🎉 Docs generated in ./generated-docs
+ mv generated-docs/ www/build/builtins
+ find www/build/builtins -type f -name index.html -exec sed -i 's!</nav>!<div class="builtins-tip"><b>Tip:</b> <a href="/different-names">Some names</a> differ from other languages.</div></nav>!' '{}' ';'
+ rm -rf roc_nightly roc_releases.json
+ '[' -v GITHUB_TOKEN_READ_ONLY ']'
+ cargo build --release --bin roc
Finished release [optimized] target(s) in 0.17s
+ roc=target/release/roc
+ target/release/roc version
roc built from commit 9935b4357b, committed at 2025-01-14 16:45:09 UTC
+ echo 'Generating site markdown content'
Generating site markdown content
+ target/release/roc build --linker legacy www/main.roc
0 errors and 0 warnings found in 537 ms while successfully building:
www/main
+ ./www/main www/content/ www/build/
www/build/llms.txt successfully written to disk
www/build/bdfn.html successfully written to disk
...
www/build/examples/index.html successfully written to disk
www/build/examples/EncodeDecode/README.html successfully written to disk
+ echo 'Adding github link to examples'\'' html...'
Adding github link to examples' html...
+ source www/scripts/add-github-link-to-examples.sh
++ set -euxo pipefail
+ add_github_link_to_examples www/build/examples
+ local examples_dir_path=www/build/examples
++ cat
+ local 'github_logo_svg=<svg viewBox="0 0 98 96" height="25" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" role="img" id="gh-logo">
<path d='\''M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z'\''></path>
</svg>'
+ local examples_link=https://github.com/roc-lang/examples/tree/main/examples
+ local perl_script=www/scripts/add-link.pl
+ test -e www/scripts/add-link.pl
+ find www/build/examples -type f -name README.html -exec perl www/scripts/add-link.pl www/build/examples https://github.com/roc-lang/examples/tree/main/examples '<svg viewBox="0 0 98 96" height="25" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" role="img" id="gh-logo">
<path d='\''M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z'\''></path>
</svg>' '{}' ';'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
...
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
+ rm -rf roc_nightly roc_releases.json
jan@framey:~/_code/roc-lang/roc$ export PATH="$(pwd)/target/release/:$PATH"
jan@framey:~/_code/roc-lang/roc$ bash ./www/build-dev-local.sh
++ dirname ./www/build-dev-local.sh
+ DIR=./www
+ cd ./www
+ rm -rf dist/
+ cp -r build dist/
+ cp -r public/_redirects public/favicon.svg public/license public/site.css public/site.js public/zulip-icon-circle.svg dist/
+ roc run main.roc -- content/ dist/
LinkingStrategy was set to Surgical (default), but I tried to find the surgical host at any of these paths Either the generic host files or the surgical host files must exist. File status: Generic host (/home/jan/.cache/roc/packages/github.com/lukewilliamboswell/basic-ssg/releases/download/0.7.0/lVVvjgCyBy6QmqXX0CmK96l67gqxiF5JeszPeAj2NKU/host.rh): missing, Generic metadata (/home/jan/.cache/roc/packages/github.com/lukewilliamboswell/basic-ssg/releases/download/0.7.0/lVVvjgCyBy6QmqXX0CmK96l67gqxiF5JeszPeAj2NKU/metadata_host.rm): missing, Surgical host (/home/jan/.cache/roc/packages/github.com/lukewilliamboswell/basic-ssg/releases/download/0.7.0/lVVvjgCyBy6QmqXX0CmK96l67gqxiF5JeszPeAj2NKU/linux-x64.rh): missing, Surgical metadata (/home/jan/.cache/roc/packages/github.com/lukewilliamboswell/basic-ssg/releases/download/0.7.0/lVVvjgCyBy6QmqXX0CmK96l67gqxiF5JeszPeAj2NKU/metadata_linux-x64.rm): missing but it does not exist.
jan@framey:~/_code/roc-lang/roc$
I also fixed that once but didn't push it apparently, give me a sec
fixed on main
@Anton and how about this?
jan@framey:~/_code/roc-lang/roc$ ./www/build-dev-local.sh
++ dirname ./www/build-dev-local.sh
+ DIR=./www
+ cd ./www
+ rm -rf dist/
+ cp -r build dist/
+ cp -r public/_redirects public/favicon.svg public/license public/site.css public/site.js public/zulip-icon-circle.svg dist/
+ roc main.roc --linker=legacy -- content/ dist/
dist/llms.txt successfully written to disk
dist/bdfn.html successfully written to disk
dist/functional.html successfully written to disk
dist/repl/index.html successfully written to disk
dist/fast.html successfully written to disk
dist/platforms.html successfully written to disk
dist/donate.html successfully written to disk
dist/abilities.html successfully written to disk
dist/community.html successfully written to disk
dist/tutorial.html successfully written to disk
dist/friendly.html successfully written to disk
dist/different-names.html successfully written to disk
dist/docs.html successfully written to disk
dist/install/linux_x86_64.html successfully written to disk
dist/install/getting_started.html successfully written to disk
dist/install/windows.html successfully written to disk
dist/install/macos_apple_silicon.html successfully written to disk
dist/install/nix.html successfully written to disk
dist/install/other.html successfully written to disk
dist/install/macos_x86_64.html successfully written to disk
dist/install/index.html successfully written to disk
dist/plans.html successfully written to disk
dist/faq.html successfully written to disk
dist/index.html successfully written to disk
dist/examples/CustomInspect/README.html successfully written to disk
dist/examples/Parser/README.html successfully written to disk
dist/examples/HelloWorld/README.html successfully written to disk
dist/examples/HelloWeb/README.html successfully written to disk
dist/examples/GoPlatform/README.html successfully written to disk
dist/examples/Json/README.html successfully written to disk
dist/examples/ImportPackageFromModule/README.html successfully written to disk
dist/examples/RecordBuilder/README.html successfully written to disk
dist/examples/Results/README.html successfully written to disk
dist/examples/ImportFromDirectory/README.html successfully written to disk
dist/examples/SafeMath/README.html successfully written to disk
dist/examples/DesugaringTry/README.html successfully written to disk
dist/examples/LoopEffect/README.html successfully written to disk
dist/examples/DotNetPlatform/README.html successfully written to disk
dist/examples/MultipleRocFiles/README.html successfully written to disk
dist/examples/ErrorHandling/README.html successfully written to disk
dist/examples/RandomNumbers/README.html successfully written to disk
dist/examples/IngestFiles/README.html successfully written to disk
dist/examples/BasicDict/README.html successfully written to disk
dist/examples/FizzBuzz/README.html successfully written to disk
dist/examples/Tuples/README.html successfully written to disk
dist/examples/CommandLineArgs/README.html successfully written to disk
dist/examples/MultiLineComments/README.html successfully written to disk
dist/examples/LeastSquares/README.html successfully written to disk
dist/examples/ElmWebApp/README.html successfully written to disk
dist/examples/GraphTraversal/README.html successfully written to disk
dist/examples/TowersOfHanoi/README.html successfully written to disk
dist/examples/Arithmetic/README.html successfully written to disk
dist/examples/CommandLineArgsFile/README.html successfully written to disk
dist/examples/PatternMatching/README.html successfully written to disk
dist/examples/index.html successfully written to disk
dist/examples/EncodeDecode/README.html successfully written to disk
+ simple-http-server -p 8080 --nocache --cors --index -- dist/
Index: enabled, Cache: disabled, Cors: enabled, Coop: disabled, Coep: disabled, Range: enabled, Sort: enabled, Threads: 3
Upload: disabled, CSRF Token:
Auth: disabled, Compression: disabled
https: disabled, Cert: , Cert-Password:
Root: /home/jan/_code/roc-lang/roc/www/dist,
TryFile404:
Address: http://0.0.0.0:8080
======== [2025-01-14 10:22:23] ========
[2025-01-14 10:22:24] - 127.0.0.1 - 200 - GET /
[2025-01-14 10:22:24] - 127.0.0.1 - 200 - GET /fonts/lato-v23-latin/lato-v23-latin-regular.woff2
[2025-01-14 10:22:24] - 127.0.0.1 - 200 - GET /fonts/source-code-pro-v22-latin/source-code-pro-v22-latin-regular.woff2
[2025-01-14 10:22:24] - 127.0.0.1 - 200 - GET /fonts/permanent-marker-v16-latin/permanent-marker-v16-latin-regular.woff2
[2025-01-14 10:22:24] - 127.0.0.1 - 200 - GET /site.css
[2025-01-14 10:22:30] - 127.0.0.1 - 200 - GET /site.js
[2025-01-14 10:22:30] - 127.0.0.1 - 200 - GET /repl/roc_repl_wasm.js
[2025-01-14 10:22:30] - 127.0.0.1 - 200 - GET /repl/roc_repl_wasm_bg.wasm
[2025-01-14 10:22:30] - 127.0.0.1 - 200 - GET /repl/roc_repl_wasm.js
[2025-01-14 10:22:32] - 127.0.0.1 - 200 - GET /install
[2025-01-14 10:22:32] - 127.0.0.1 - 200 - GET /fonts/lato-v23-latin/lato-v23-latin-regular.woff2
[2025-01-14 10:22:32] - 127.0.0.1 - 200 - GET /fonts/source-code-pro-v22-latin/source-code-pro-v22-latin-regular.woff2
[2025-01-14 10:22:32] - 127.0.0.1 - 200 - GET /fonts/permanent-marker-v16-latin/permanent-marker-v16-latin-regular.woff2
[2025-01-14 10:22:32] - 127.0.0.1 - 200 - GET /site.css
[2025-01-14 10:22:32] - 127.0.0.1 - 200 - GET /repl/roc_repl_wasm.js
[2025-01-14 10:22:33] - 127.0.0.1 - 200 - GET /examples
[2025-01-14 10:22:33] - 127.0.0.1 - 200 - GET /fonts/lato-v23-latin/lato-v23-latin-regular.woff2
[2025-01-14 10:22:33] - 127.0.0.1 - 200 - GET /fonts/source-code-pro-v22-latin/source-code-pro-v22-latin-regular.woff2
[2025-01-14 10:22:33] - 127.0.0.1 - 200 - GET /fonts/permanent-marker-v16-latin/permanent-marker-v16-latin-regular.woff2
[2025-01-14 10:22:33] - 127.0.0.1 - 200 - GET /site.css
[2025-01-14 10:22:33] - 127.0.0.1 - 200 - GET /repl/roc_repl_wasm.js
[2025-01-14 10:22:34] - 127.0.0.1 - 404 - GET /community
[2025-01-14 10:22:37] - 127.0.0.1 - 404 - GET /docs
[2025-01-14 10:22:40] - 127.0.0.1 - 404 - GET /donate
[2025-01-14 10:22:42] - 127.0.0.1 - 404 - GET /tutorial
[2025-01-14 10:22:45] - 127.0.0.1 - 200 - GET /install
Screenshot_20250114_102348.png
Screenshot_20250114_102356.png
Adding .html will get you the page (http://localhost:8080/community.html
), I'll see if I can find a proper fix and will make a TODO to set up automated testing :sweat_smile:
The .html issue is because of the webserver we use for local testing https://github.com/TheWaWaR/simple-http-server/issues/111
I'll see if I can do a fork and fix
Alright, I've got a fix on my fork https://github.com/Anton-4/simple-http-server
Tomorrow I'll set up our nix flake to use my fork.
Thank you for this Anton. That was a real pain when doing the docs update
Fix is on main, the flake now uses my fork of simple-http-server
Last updated: Jul 06 2025 at 12:14 UTC