-
Notifications
You must be signed in to change notification settings - Fork 37
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
semver doesn't recognise a version of "*" #18
Comments
What do you do when you get this? |
To make this happen? I'll not sure what package causes it, but presumably On Wed, 14 Jan 2015 13:39 Adam Klein notifications@github.com wrote:
|
@aexmachina this stinks, I am removing this. why did someone put this in the ember-cli 0.1.7 and not test this? |
It's a useful module, but yes could have done with more testing. On Wed, 14 Jan 2015 13:42 Adam Klein notifications@github.com wrote:
|
@aexmachina I am interested in understanding more about this module, but there is absolutely no documention anywhere on this github. Can you point me to anything? |
Nope, I know nothing about it either. On Wed, 14 Jan 2015 13:47 Adam Klein notifications@github.com wrote:
|
@aexmachina I cannot reproduce the issue, it gives the expected output. Do you have a specific example that demonstrates this issue? |
In out right now, but I can try when I get back On Wed, 14 Jan 2015 13:54 Emre Unal notifications@github.com wrote:
|
@cmosguy This repo is well tested for many main scenarios we can imagine. See https://github.com/quaertym/ember-cli-dependency-checker/tree/master/tests. Please submit a failing test if you have a specific scenario that is not satisfied. |
@aexmachina any updates? |
Just getting to it now... |
OK, so here is one problem: version: 0.1.2
Object #<Project> has no method 'bowerDependencies'
TypeError: Object #<Project> has no method 'bowerDependencies'
at EmberCLIDependencyChecker.readBowerDependencies (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli-dependency-checker\lib\dependency-checker.js:80:35)
at EmberCLIDependencyChecker.checkDependencies (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli-dependency-checker\lib\dependency-checker.js:28:24)
at new EmberCLIDependencyChecker (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli-dependency-checker\lib\dependency-checker.js:19:8)
at c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli\lib\models\project.js:206:25
at visit (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli\lib\utilities\DAG.js:23:3)
at DAG.topsort (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli\lib\utilities\DAG.js:82:7)
at Project.initializeAddons (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli\lib\models\project.js:202:9)
at Project.eachAddonCommand (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli\lib\models\project.js:229:10)
at module.exports (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli\lib\cli\lookup-command.js:52:13)
at CLI.<anonymous> (c:\Users\kleinada\workspace\squarekings\ember-app\node_modules\ember-cli\lib\cli\cli.js:31:26) Here is bower.json: https://gist.github.com/cmosguy/bd2321a8c62599124235 What should I do here? Thanks, |
@cmosguy What's your |
@quaertym ember-cli 0.1.2 and whatever version you get for the checker when you do npm install. |
@cmosguy OK, bowerDependencies() added to |
@quaertym just find this: ember-cli/ember-cli#2567 which relates to what you were talking about. |
@aexmachina OK, closing this issue now, if you find a specific case where dependency checker fails please submit another issue. |
Okay, happy for you to close it, but this is definitely still an issue. I |
@aexmachina I do not get how it is an issue if you cannot provide an example. |
I've submitted a PR which provides a better error message. For some reason the bower package for swfobject has a Not sure what the correct behaviour should be. Any suggestions? |
@aexmachina Hmm, |
Cool, I'll create a PR for swfobject. Looks like they're already on it for their v2.3.0 release but it's still beta right now. |
I tracked down my instance of the same issue to Sanitize.js from within ember-sanitize add-on (in my case I was using ember-cli 0.1.12). There is already an issue requesting semver to be added to Sanitize.js, though I'm not holding my breath. Looking for a workaround. |
Ok, my issue is sorted, too. I added the diplomatic comment to the existing Sanitize.js issue and all that was needed was adding a semver compliant tag to the repository and then everything just worked. So lesson is to figure out what bower packaged lib isn't properly semver tagged and ask the maintainer to add it. |
@walter Great 👍 otherwise it would be very hard to workaround all those non-semver packages. |
Hi Getting the same error: after running this command: I ran the above command inorder to make my ember cli build process faster. Then results me the following error: D:\software\emberProjects\todomvc-embercli>ember serve |
I just got the same error after running some updates. It's not the first time that it's happened either. Here is my package.json {
"name": "whats-due-cordova",
"version": "0.0.0",
"description": "Small description for whats-due-cordova goes here",
"private": true,
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"start": "ember server",
"test": "ember test"
},
"repository": "",
"engines": {
"node": ">= 0.10.0"
},
"author": "",
"license": "MIT",
"devDependencies": {
"broccoli-asset-rev": "^2.1.2",
"ember-bootstrap-switch": "0.2.0",
"ember-cli": "1.13.8",
"ember-cli-app-version": "0.5.0",
"ember-cli-babel": "^5.1.3",
"ember-cli-content-security-policy": "0.4.0",
"ember-cli-delay-app-boot": "1.0.2",
"ember-cli-dependency-checker": "1.0.1",
"ember-cli-fastclick": "1.0.4",
"ember-cli-font-awesome": "0.1.1",
"ember-cli-htmlbars": "0.7.9",
"ember-cli-htmlbars-inline-precompile": "^0.2.0",
"ember-cli-ic-ajax": "0.2.1",
"ember-cli-inject-live-reload": "^1.3.1",
"ember-cli-less": "1.3.3",
"ember-cli-qunit": "^1.0.0",
"ember-cli-release": "0.2.3",
"ember-cli-remote-inspector": "^0.1.0",
"ember-cli-sri": "^1.0.3",
"ember-cli-uglify": "^1.2.0",
"ember-data": "2.0.0",
"ember-disable-proxy-controllers": "^1.0.0",
"ember-export-application-global": "^1.0.3",
"ember-group-by": "0.0.2",
"ember-in-viewport": "2.0.0",
"ember-infinity": "0.1.2",
"ember-localforage-adapter": "2.0.0"
}
} Here is my bower.json {
"name": "whats-due-cordova",
"dependencies": {
"ember": "^2.0.0",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-data": "^2.0.0",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.18",
"jquery": "^1.11.3",
"loader.js": "ember-cli/loader.js#3.2.1",
"qunit": "~1.18.0",
"moment": "~2.10.2",
"moment-timezone": "~0.4.0",
"fastclick": "~1.0.6",
"localforage": "~1.2.1",
"bootstrap-switch": "^3.3.2",
"font-awesome": "~4.4.0"
},
"resolutions": {
"ember": "^2.0.0"
}
} Note, I have run |
here is my error message
|
I also moved between git branches, I suspect that this may have something to do with it. Although, I have all of my vendors in .gitignore |
I wound up solving it by following the steps for an update (I did not do an update) https://github.com/ember-cli/ember-cli/releases Hope this helps |
@dangreenisrael Glad it is solved for you. |
@dangreenisrael I had the same issue, your link solved this for me. |
If a dependency has a version of "*" then the dependency checker throws an exception, and doesn't indicate where the dependency is coming from.
The text was updated successfully, but these errors were encountered: