schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs, SSR and SSG.
https://jasprpad.schultek.de
MIT License
1.07k stars 65 forks source link

`jaspr create` isn't wokring #94

Closed HosamHasanRamadan closed 1 year ago

HosamHasanRamadan commented 1 year ago

Description I was trying to create new project with jaspr create my_app then I got this error: Could not find pubspec.yaml file. Make sure to run jaspr in your root project directory.

then I tried to remove pub cache rm -rf ~/.pub-cache and activate jaspr_cli again nothing changed the same error happened again.

Steps To Reproduce

  1. Activate jaspr through dart pub global activate jaspr_cli
  2. Create a new project with jaspr create my_app.
  3. Could not find pubspec.yaml file. Make sure to run jaspr in your root project directory.

Expected Behavior

project created normally

Additional Context jaspr cli : 0.6.0 mac os : 13.3 arm64 dart : 3.0.6

schultek commented 1 year ago

On it, a little bug that slipped in with the latest release.

schultek commented 1 year ago

Fixed in version 0.6.1

Update using dart pub global activate jaspr_cli 0.6.1