scaffolding
scaffolding copied to clipboard
[BUG] Scaffolding forum example with lit panics
Describe the bug
I'm not sure if the forum example is supposed to support lit, but currently it panics:
[holonix:~/Projects/Holochain/scaffolding]$ cargo run --bin hc-scaffold -- --template lit example forum -pnpm --setup-nix false
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s
Running `target/debug/hc-scaffold --template lit example forum -pnpm --setup-nix false`
thread 'main' panicked at /home/matt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dprint-plugin-typescript-0.91.8/src/generation/context.rs:196:7:
Debug Panic Expected text `]`, but found `y`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Expected behavior
A message that "lit is not supported", or else scaffolding the forum example successfully.
System information
- OS: ubuntu 22.04
- Scaffolding and Nix Version: https://github.com/holochain/scaffolding/commit/4a8e44c0d653b2b89ecda582336446e3d3581223
Steps to reproduce
Run cargo run --bin hc-scaffold -- --template lit example forum -pnpm --setup-nix false
Screenshots
n/a
Additional context
n/a
It would be good if this was caught by CI tests as well
Thanks for reporting this bug. Lit should be supported for the forum example. Investigating.