Discussion:
[dart-misc] pub fail question
Daniel Davidson
2016-01-16 16:43:45 UTC
Permalink
This pubspec:


name: 'mortgage_calculator'
version: 0.0.1
description: An absolute bare-bones web app.

environment:
sdk: '>=1.0.0 <2.0.0'

dependencies:
browser: '>=0.10.0 <0.11.0'
dart_to_js_script_rewriter: '^0.1.0'


Give this error:


pub get
Resolving dependencies...
Got dependencies!
Precompiling dependencies...
Loading source assets...
Loading dart_to_js_script_rewriter transformers...
Unable to spawn isolate: Unhandled exception:
Load Error for
"file:///tmp/tmpeYi8O_/dart-1.14.0-dev.7.0/dart/third_party/pkg/pub/bin/pub.dart":
Error loading
file:///tmp/tmpeYi8O_/dart-1.14.0-dev.7.0/dart/third_party/pkg/pub/bin/pub.dart:
FileSystemException: Cannot open file, path =
'/tmp/tmpeYi8O_/dart-1.14.0-dev.7.0/dart/third_party/pkg/pub/bin/pub.dart'
(OS Error: No such file or directory, errno = 2)
#0 _asyncLoadErrorCallback (dart:_builtin:155)
#1 _asyncLoadError (dart:_builtin:566)
#2 _handleLoaderReply (dart:_builtin:383)
#3 _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:148)


Any ideas?


$ dart --version
Dart VM version: 1.14.0-dev.7.0 (Wed Jan 13 12:41:00 2016) on "linux_x64"
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Kasper Peulen
2016-01-16 20:18:14 UTC
Permalink
Seems like a problem with dev.7.0, I have similar problems with this
version.

I switched back to 1.14-dev.6.0.
Post by Daniel Davidson
name: 'mortgage_calculator'
version: 0.0.1
description: An absolute bare-bones web app.
sdk: '>=1.0.0 <2.0.0'
browser: '>=0.10.0 <0.11.0'
dart_to_js_script_rewriter: '^0.1.0'
pub get
Resolving dependencies...
Got dependencies!
Precompiling dependencies...
Loading source assets...
Loading dart_to_js_script_rewriter transformers...
Load Error for
Error loading
FileSystemException: Cannot open file, path =
'/tmp/tmpeYi8O_/dart-1.14.0-dev.7.0/dart/third_party/pkg/pub/bin/pub.dart'
(OS Error: No such file or directory, errno = 2)
#0 _asyncLoadErrorCallback (dart:_builtin:155)
#1 _asyncLoadError (dart:_builtin:566)
#2 _handleLoaderReply (dart:_builtin:383)
#3 _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:148)
Any ideas?
$ dart --version
Dart VM version: 1.14.0-dev.7.0 (Wed Jan 13 12:41:00 2016) on "linux_x64"
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Don Olmstead
2016-01-16 20:26:19 UTC
Permalink
Not sure whats up with pub for you but I wanted to note that your pubspec
has an issue. The ^ syntax was added around 1.8.3 if memory serves. Your
SDK constraint needs to be tied down. If you use den its helpful in getting
those things sorted.
Post by Kasper Peulen
Seems like a problem with dev.7.0, I have similar problems with this
version.
I switched back to 1.14-dev.6.0.
Post by Daniel Davidson
name: 'mortgage_calculator'
version: 0.0.1
description: An absolute bare-bones web app.
sdk: '>=1.0.0 <2.0.0'
browser: '>=0.10.0 <0.11.0'
dart_to_js_script_rewriter: '^0.1.0'
pub get
Resolving dependencies...
Got dependencies!
Precompiling dependencies...
Loading source assets...
Loading dart_to_js_script_rewriter transformers...
Load Error for
Error loading
FileSystemException: Cannot open file, path =
'/tmp/tmpeYi8O_/dart-1.14.0-dev.7.0/dart/third_party/pkg/pub/bin/pub.dart'
(OS Error: No such file or directory, errno = 2)
#0 _asyncLoadErrorCallback (dart:_builtin:155)
#1 _asyncLoadError (dart:_builtin:566)
#2 _handleLoaderReply (dart:_builtin:383)
#3 _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:148)
Any ideas?
$ dart --version
Dart VM version: 1.14.0-dev.7.0 (Wed Jan 13 12:41:00 2016) on "linux_x64"
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Günter Zöchbauer
2016-01-16 20:38:04 UTC
Permalink
https://github.com/dart-lang/pub/issues/1379
Post by Daniel Davidson
name: 'mortgage_calculator'
version: 0.0.1
description: An absolute bare-bones web app.
  sdk: '>=1.0.0 <2.0.0'
  browser: '>=0.10.0 <0.11.0'
  dart_to_js_script_rewriter: '^0.1.0'
pub get
Resolving dependencies... 
Got dependencies!
Precompiling dependencies...
Loading source assets... 
Loading dart_to_js_script_rewriter transformers... 
  FileSystemException: Cannot open file, path = '/tmp/tmpeYi8O_/dart-1.14.0-dev.7.0/dart/third_party/pkg/pub/bin/pub.dart' (OS Error: No such file or directory, errno = 2)
#0      _asyncLoadErrorCallback (dart:_builtin:155)
#1      _asyncLoadError (dart:_builtin:566)
#2      _handleLoaderReply (dart:_builtin:383)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)
Any ideas?
 
$ dart --version
Dart VM version: 1.14.0-dev.7.0 (Wed Jan 13 12:41:00 2016) on "linux_x64"
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Continue reading on narkive:
Loading...