0

When I try to generate a migration file in Aqueduct

aqueduct db generate

I get the following error

IsolateSpawnException: Unable to spawn isolate ...

I'm running Aqueduct 3.2.1.

How do I fix this?

Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393

1 Answers1

0

Upgrade to the newer version of Aqueduct.

pub upgrade

Note the newer version of Aqueduct that was downloaded. In my case it was 3.3.0-b1. Activate that version:

pub global activate aqueduct 3.3.0-b1
Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393