3
我想知道是否有人无法让Cmd-r启动他们的应用程序?使用Dart编辑器在Chromium中启动应用程序
它带来了铬,但我必须手动输入localhost:3030,然后导航到我的实际应用。此外,甚至导航到应用程序,服务器连接最终超时与
java.net.ConnectException: Connection refused
后,我在OS X 10.7.5,飞镖编辑器版本0.4.2_r20259。谢谢。
2013年4月25日:我想补充什么不工作的细节,这里是我的错误,当我试图与德文·卡鲁提到的预发布dartEditor编译:
--- Mar 25, 2013 11:13:59 AM build.dart --machine --changed=web/quizry3.html ---
file:/Users/stephen/silly2/quizry-client/build.dart
build.dart returned error code 255
Uncaught Error: Class '_File' has no instance method 'open' with matching arguments.
NoSuchMethodError: incorrect number of arguments passed to method named 'open'
Receiver: Instance of '[email protected]'
Tried calling: open(Instance of 'FileMode')
Found: open(mode)
Stack Trace:
#0 Object.noSuchMethod (dart:core-patch:1884:25)
#1 ConsoleFileSystem.writeString (package:web_ui/src/file_system/console.dart:22:43)
#2 writeFile (package:web_ui/dwc.dart:104:27)
#3 emitFiles.<anonymous closure> (package:web_ui/dwc.dart:92:35)
#4 List.forEach (dart:core-patch:1219:8)
#5 emitFiles (package:web_ui/dwc.dart:92:18)
#6 run.<anonymous closure>.<anonymous closure> (package:web_ui/dwc.dart:86:29)
#7 _ThenFuture._sendValue (dart:async:463:24)
#8 _FutureImpl._setValue (dart:async:361:26)
#9 _FutureImpl._chain (dart:async:418:23)
#10 _FutureImpl._setOrChainValue (dart:async:429:27)
#11 _ThenFuture._sendValue (dart:async:473:21)
#12 _FutureImpl._setValue (dart:async:361:26)
#13 _FutureImpl._setOrChainValue (dart:async:437:16)
#14 _ThenFuture._sendValue (dart:async:473:21)
#15 _FutureImpl._setValue (dart:async:361:26)
#16 _FutureImpl._setOrChainValue (dart:async:437:16)
#17 _ThenFuture._sendValue (dart:async:473:21)
#18 _FutureImpl._setValue (dart:async:361:26)
#19 _CompleterImpl.complete (dart:async:190:21)
#20 FutureGroup.add.<anonymous closure> (package:web_ui/src/utils.dart:139:28)
#21 _ThenFuture._sendValue (dart:async:463:24)
#22 _FutureImpl._setValue (dart:async:361:26)
#23 _FutureImpl._setOrChainValue (dart:async:437:16)
#24 _ThenFuture._sendValue (dart:async:473:21)
#25 _FutureImpl._setValue (dart:async:361:26)
#26 _CatchErrorFuture._sendValue (dart:async:485:14)
#27 _FutureImpl._setValue (dart:async:361:26)
#28 _FutureImpl._setOrChainValue (dart:async:437:16)
#29 _ThenFuture._sendValue (dart:async:473:21)
#30 _FutureImpl._setValue (dart:async:361:26)
#31 _FutureImpl._setOrChainValue (dart:async:437:16)
#32 _ThenFuture._sendValue (dart:async:473:21)
#33 _FutureImpl._setValue (dart:async:361:26)
#34 _FutureListenerWrapper._sendValue (dart:async:221:21)
#35 _FutureImpl._setValue (dart:async:361:26)
#36 _FutureListenerWrapper._sendValue (dart:async:221:21)
#37 _FutureImpl._setValue (dart:async:361:26)
#38 _FutureImpl._setOrChainValue (dart:async:437:16)
#39 _ThenFuture._sendValue (dart:async:473:21)
#40 _FutureImpl._setValue (dart:async:361:26)
#41 _FutureListenerWrapper._sendValue (dart:async:221:21)
#42 _FutureImpl._setValue (dart:async:361:26)
#43 _FutureImpl._setOrChainValue (dart:async:437:16)
#44 _ThenFuture._sendValue (dart:async:473:21)
#45 _FutureImpl._setValue (dart:async:361:26)
#46 _CompleterImpl.complete (dart:async:190:21)
#47 _SendPortImpl.call.<anonymous closure> (dart:isolate-patch:106:27)
#48 _ReceivePortImpl._handleMessage (dart:isolate-patch:81:92)
Unhandled exception:
Class '_File' has no instance method 'open' with matching arguments.
NoSuchMethodError: incorrect number of arguments passed to method named 'open'
Receiver: Instance of '[email protected]'
Tried calling: open(Instance of 'FileMode')
Found: open(mode)
#0 _FutureImpl._scheduleUnhandledError.<anonymous closure> (dart:async:391:9)
#1 Timer.run.<anonymous closure> (dart:async:2362:21)
#2 Timer.run.<anonymous closure> (dart:async:2370:13)
#3 Timer.Timer.<anonymous closure> (dart:async-patch:15:15)
#4 _Timer._createTimerHandler._handleTimeout (dart:io:6385:28)
#5 _Timer._createTimerHandler._handleTimeout (dart:io:6393:7)
#6 _Timer._createTimerHandler.<anonymous closure> (dart:io:6401:23)
#7 _ReceivePortImpl._handleMessage (dart:isolate-patch:81:92)
好了,好消息是,它的工作。它现在正确启动连接。坏消息是它不再编译代码。 :/ 如果我去到以前的dartEditor虽然,然后编译代码,然后切换到上述dartEditor,它虽然正常启动。所以,期待下一个版本。 – 2013-03-25 18:17:16