简体   繁体   中英

Dart-Editor: Dart not invoked?

For some reason i don't know, my DartEditor suddenly does not run the dart code anymore when i run an HTML file in Dartium. Nothing happends on chromium and nothing is displayed in the console output.

Either:

  • Chromium loads everything instantely
  • Chromium load the html but still loads indifenitely

I have already:

  • checked that the build was successfull
  • restarted DartEditor many times
  • made sure to remove all breakpoints
  • specified into the .html file which .dart to load
  • tried to run the simpliest dart code (a single print() in the main),

The only related topic ( Simple Dart Web Component Not Working ) does not resolve my problem. Any help would be much apreciated, thank you.

我发现的唯一解决方法是使用其SDK等完全重新安装Dart-Editor。

Sometimes dart does something similar and normally there are errors on the bindings within my html. Even fixing that error, it seems that dartium still not wanting to load my page (sometimes I even get 404 index.html not found).

My solution is to run an example project with no errors that I know it couldn't crash, for some reasons that unblocks dartium for the main project too.

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM