Closed Tienisto closed 4 months ago
I face the same issue, although I fixed it by using the classic template or specifying a path with --input
The client
template is for client-side-rendering only, so jaspr generate
which tries to do static site generation (which is a subform of server-side-rendering) natually won't work.
But I can do a better job communicating this in the docs and cli.
Description
After running
jaspr create my_project
, then selectingclient
, the commandjaspr generate
fails with the following error:This is strange. Here is the generated
web/main.dart
file:Also, the generated
pubspec.yaml
misses thejaspr_builder
dependency I think.Steps To Reproduce
jaspr create my_project
client
jaspr generate
Doctor Output
Expected Behavior
Should run successfully.
Additional Context