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

TypeError: Invalid Version: undefined #41

Open
ming-codes opened this issue Jul 6, 2017 · 1 comment
Open

TypeError: Invalid Version: undefined #41

ming-codes opened this issue Jul 6, 2017 · 1 comment

Comments

@ming-codes
Copy link

I'm not sure if this is an issue with ember-let or ember-cli-version-checker.

Here's the stack trace.

Invalid Version: undefined
TypeError: Invalid Version: undefined
    at new SemVer (/Users/mingliu/Workspace/prime/node_modules/ember-cli-version-checker/node_modules/semver/semver.js:281:11)
    at compare (/Users/mingliu/Workspace/prime/node_modules/ember-cli-version-checker/node_modules/semver/semver.js:571:10)
    at Function.lt (/Users/mingliu/Workspace/prime/node_modules/ember-cli-version-checker/node_modules/semver/semver.js:605:10)
    at DependencyVersionChecker.(anonymous function) [as lt] (/Users/mingliu/Workspace/prime/node_modules/ember-cli-version-checker/index.js:72:26)
    at Class.setupPreprocessorRegistry (/Users/mingliu/Workspace/prime/node_modules/ember-let/index.js:12:39)

I think the issue stem from ember moved bower package to npm. So when checker.for('ember', 'bower').lt('2.0.0') tries to check for it, it throws because it expects the bower package.

@Robdel12
Copy link
Collaborator

Hey @ming-codes, thanks for the report. Is this something you're still seeing? (I hope not, it took forever for us to reply 😳)

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