Hi Mark,
see below. What does that tell us?
$ cd tutorial/dart/client/
$ pub get
Resolving dependencies...
The pubspec for thrift 0.1.0 from path has version 1.0.0-dev.
$ git clean -xdf
Lösche .packages
Lösche packages/
Lösche pubspec.lock
Lösche web/packages
$ pub get
Resolving dependencies... (5.8s)
+ async 1.11.0
+ browser 0.10.0+2
+ charcode 1.1.0
+ collection 1.8.0
+ fixnum 0.10.5
+ http 0.11.3+7
+ http_parser 3.0.1
+ logging 0.11.3
+ path 1.3.9
+ shared 0.0.1 from path ../gen-dart/shared
+ source_span 1.2.3
+ stack_trace 1.6.5
+ string_scanner 0.1.5
+ thrift 1.0.0-dev from path ../../../lib/dart
+ tutorial 0.0.1 from path ../gen-dart/tutorial
Changed 15 dependencies!
$ pub version
Pub 1.17.1
$ dart --version
Dart VM version: 1.17.1 (Fri Jun 10 04:48:35 2016) on "linux_ia32"
-----Ursprüngliche Nachricht-----
From: Mark Erickson
Sent: Tuesday, June 14, 2016 11:22 PM
To: Thrift-Dev
Subject: Re: Dart Tutorial build fails with Error 65
Hi Jens,
It looks like it's failing on running `pub get` within
tutorial/dart/client. It's working for me, but I'm curious what you see
differently from what I see here:
(thrift)thrift$ cd tutorial/dart/client/
(thrift)client$ pub get
Resolving dependencies...
Got dependencies!
(thrift)client$ git clean -xdf
Removing .packages
Removing packages/
Removing pubspec.lock
Removing web/packages
(thrift)client$ pub get
Resolving dependencies... (3.7s)
+ async 1.11.0
+ browser 0.10.0+2
+ charcode 1.1.0
+ collection 1.8.0
+ fixnum 0.10.5
+ http 0.11.3+7
+ http_parser 3.0.1
+ logging 0.11.3
+ path 1.3.9
+ shared 0.0.1 from path ../gen-dart/shared
+ source_span 1.2.3
+ stack_trace 1.6.5
+ string_scanner 0.1.5
+ thrift 1.0.0-dev from path ../../../lib/dart
+ tutorial 0.0.1 from path ../gen-dart/tutorial
Downloading source_span 1.2.3...
Changed 15 dependencies!
(thrift)client$ pub version
Pub 1.16.1
(thrift)client$ dart --version
Dart VM version: 1.16.1 (Mon May 23 17:26:25 2016) on "macos_x64"
(thrift)client$
On Tue, Jun 14, 2016 at 3:10 PM, Jens Geyer <[email protected]> wrote:
Hi Darties,
any idea what I’m doing wrong?
This is the result of “make all” with current stable dart version.
+ thrift 1.0.0-dev from path ../../../../lib/dart
Downloading source_span 1.2.3...
Downloading stack_trace 1.6.5...
Changed 13 dependencies!
cd gen-dart/shared; /usr/local/dart-sdk/bin/pub get
Resolving dependencies... (22.4s)
+ async 1.11.0
+ charcode 1.1.0
+ collection 1.8.0
+ fixnum 0.10.5
+ http 0.11.3+7
+ http_parser 3.0.1
+ logging 0.11.3
+ path 1.3.9
+ source_span 1.2.3
+ stack_trace 1.6.5
+ string_scanner 0.1.5
+ thrift 1.0.0-dev from path ../../../../lib/dart
Changed 12 dependencies!
cd client; /usr/local/dart-sdk/bin/pub get
Resolving dependencies...
The pubspec for thrift 0.1.0 from path has version 1.0.0-dev.
Makefile:635: recipe for target 'pub-get-client' failed
make[4]: *** [pub-get-client] Error 65
make[4]: Leaving directory
'/home/jens/Arbeitsfläche/develop/thrift/tutorial/dart'
Makefile:416: recipe for target 'all' failed
make[3]: *** [all] Error 2
Thanks,
JensG