stablekernel / aqueduct

Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
https://aqueduct.io
BSD 2-Clause "Simplified" License
2.41k stars 279 forks source link

Bad state: No element when creating a project #843

Open kwado-tech opened 4 years ago

kwado-tech commented 4 years ago

Thanks for this wonderful framework.

I am currently having issues with creating a project. The error title is Bad: State and sub information is

**** Stacktrace

Currently on Dart VM version: 2.8.2 (stable)

francoisnza commented 4 years ago

Hello, I encountered the same problem. I activated aqueduct, added path var, then on

aqueduct create api_test

-- Aqueduct CLI Version: 3.3.0+1 * Uncaught error Bad state: No element ** Stacktrace

pub --version 2.8.2

kwado-tech commented 4 years ago

@francoisnza this is a resulting breaking change in dart 2.8 which is yet to be fixed in aqueduct. I had to uninstall dart 2.8 and re-install dart 2.7.2 from dart archive to resolve the issue for now until it is fixed in aqueduct framework.

rdnobrega commented 4 years ago

Is there news on this? Dart is already 2.9.1...

Hector096 commented 3 years ago

Dart is 2.10.5 still facing same issue.