Skip to content

pub install problem #7009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stevemessick opened this issue Nov 28, 2012 · 3 comments
Closed

pub install problem #7009

stevemessick opened this issue Nov 28, 2012 · 3 comments
Assignees
Milestone

Comments

@stevemessick
Copy link
Contributor

Had a functional project. Pasted in example benchmark code. Added "benchmark_harness" to yaml with:
name: hl2_error_display
description: A sample application
dependencies:
  html5lib: any
  benchmark_harness:
        git: https://github.com/dart-lang/benchmark_harness.git

pub install of benchmark caused error shown
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.2.4_r15130 (2012-11-20)
OS: Windows 7 - amd64 (6.1)
JVM: 1.7.0_03

projects: 2

mem max/total/free: 910 / 284 / 223 MB
analysis: 0 tasks, 33 libraries, 2 contexts
index: 59836 relationships and 0 attributes in 13988 elements in 137 resources stored in 2 MB on disk

SDK installed: true
Dartium installed: true


Attachment:
screenshot.png (142.88 KB)

@munificent
Copy link
Member

There's something weird going on here. It looks like the version of args he has in the SDK is out of sync with the Dart corelib that's in the SDK. RegExp no longer has a const constructor. Args was updated to address that but somehow the user has the later corelib but an older args.

Either way, this should be fixed with the latest SDK.

@keertip
Copy link
Contributor

keertip commented Nov 29, 2012

Looks like this had something to do with pub & sdk. Has been fixed, verified in continuous r15491


Added Verified label.

@clayberg
Copy link

Removed this from the M3 milestone.
Added this to the M2 milestone.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants