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

Having trouble figuring out how to try versions of ember-data #111

Closed
danielspaniel opened this issue Jan 22, 2017 · 1 comment
Closed

Comments

@danielspaniel
Copy link

Howdy,
I have a scenario like this

    {
      name: 'ember-data-2.5',
      bower: {
        devDependencies: {
          'ember': 'components/ember#2.10.2'
        },
        resolutions: {
          'ember': '2.10'
        }
      },
      npm: {
        devDependencies: {
          'ember-data': 'emberjs/data#2.5.5'
        },
        resolutions: {
          'ember-data': '2.5.5'
        }
      }
    },

and I get errror like this:

22.61s$ ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
npm ERR! git rev-list -n1 2.5.5: fatal: ambiguous argument '2.5.5': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 2.5.5: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 2.5.5: 'git <command> [<revision>...] -- [<file>...]'
@danielspaniel
Copy link
Author

Hooray .. I got this working thanks to some tips from @kategengler

scenario needs to be like this:

    {
      name: 'ember-data-2.5',
      bower: {
        devDependencies: {
          'ember': 'components/ember#2.10.2'
        },
        resolutions: {
          'ember': '2.10'
        }
      },
      npm: {
        devDependencies: {
          'ember-data': '2.5.5'
        }
      }
    },

and now I get even a nice summary

Scenario ember-data-2.5: SUCCESS
Command run: ember test
┌────────────────────┬────────────────────┬──────────────────────────────┬──────────┐
│ Dependency │ Expected │ Used │ Type │
├────────────────────┼────────────────────┼──────────────────────────────┼──────────┤
│ ember-data │ 2.5.5 │ 2.5.5 │ npm │
├────────────────────┼────────────────────┼──────────────────────────────┼──────────┤
│ ember │ components/ember#… │ 2.10.2 │ bower │
└────────────────────┴────────────────────┴─���────────────────────────────┴──────────┘

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

1 participant