Pergunta

After clicking "Pub build" menu item in an empty project with sample code, a window pops up: "dart.exe is not working any more". The editor doesn't crash actually, despite of this notification. The console output is:

--- 11:47:17 Running pub build ... ---
Pub build failed, [-1073741819] You don't have a lockfile, so we need to generate that:
Resolving dependencies...Error WSAIoctl failed: 10022
....
Downloading browser 0.10.0+1...
Error WSAIoctl failed: 10022

Nothing gets built (operation gets aborted automatically). Anyone having this issue too? Any solution? Is it a bug?

Specs: Win 7, x86, DartEditor 1.2.0

Foi útil?

Solução

The same problem appeared to me after an automatic update from 1.3.6. to 1.4.0.

A complete reinstall of Dart + Editor from the ZIP file solved the problem.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top