Skip to content
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

Could not find a file named "pubspec.yaml" in #8

Open
IonelLupu opened this issue Jun 5, 2019 · 1 comment
Open

Could not find a file named "pubspec.yaml" in #8

IonelLupu opened this issue Jun 5, 2019 · 1 comment

Comments

@IonelLupu
Copy link

When I run pub global activate -s git https://github.com/polymer-dart/dart2ts.git I get :
Could not find a file named "pubspec.yaml" in "/tmp/pub_QQNVID"

What can the issue be?

pub --version // Pub 2.3.1
dart --version // Dart VM version: 2.3.1 (Unknown timestamp) on "linux_x64"

@TheBosZ
Copy link

TheBosZ commented Sep 25, 2019

It doesn't work with Dart 2. You need to downgrade.

According to the docs, you can just do:

pub global activate dart2ts

That worked for me. Now I'm trying to figure out how to actually use it.

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

2 participants