【发布时间】:2014-08-04 01:17:03
【问题描述】:
我们通过运行导航到项目文件夹(.yaml 文件所在的位置)并运行“pub get”和“pub build”的脚本来自动构建 DART。它工作了一段时间,但现在我们得到了这个(在这两种情况下):
Unhandled exception:
Illegal argument(s): join(null, "Pub", "Cache"): part 0 was null, but part 1 was not.
#0 _validateArgList (package:path/src/context.dart:497)
#1 Context.join (package:path/src/context.dart:187)
#2 join (package:path/path.dart:235)
#3 main (file:///e:/b/build/slave/dart-editor-win-stable/build/dart/sdk/lib/_internal/pub/bin/pub.dart:69)
#4 _startIsolate.isolateStartHandler (dart:isolate-patch/isolate_patch.dart:214)
#5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:124)
这可能是什么原因?我们使用 SDK 1.4.0。
谢谢,
尤里。
【问题讨论】:
-
手动运行时是否也出现同样的错误?
-
我的本地服务器上有或多或少相同的设置副本,我没有这个问题。我无法在公司构建服务器上手动运行它。