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

Error: Path or pattern "bower_components/ember-qunit/named-amd/main.js" did not match any files #131

Closed
knownasilya opened this issue Feb 7, 2015 · 17 comments

Comments

@knownasilya
Copy link

Followed the reefpoint blog, but it seems to be broken still.

Build failed.
Path or pattern "bower_components/ember-qunit/named-amd/main.js" did not match any files
Error: Path or pattern "bower_components/ember-qunit/named-amd/main.js" did not match any files
    at Object.multiGlob (/Users/iradchenko/sandbox/ember-export-application-global/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/broccoli-kitchen-sink-helpers/index.js:202:13)
    at Class.module.exports.CachingWriter.extend.addFiles (/Users/iradchenko/sandbox/ember-export-application-global/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/concat-with-maps.js:74:13)
    at Class.module.exports.CachingWriter.extend.updateCache (/Users/iradchenko/sandbox/ember-export-application-global/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/concat-with-maps.js:52:12)
    at /Users/iradchenko/sandbox/ember-export-application-global/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/broccoli-caching-writer/index.js:92:34
    at $$$internal$$tryCatch (/Users/iradchenko/sandbox/ember-export-application-global/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/rsvp/dist/rsvp.js:490:16)
    at $$$internal$$invokeCallback (/Users/iradchenko/sandbox/ember-export-application-global/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/rsvp/dist/rsvp.js:502:17)
    at $$$internal$$publish (/Users/iradchenko/sandbox/ember-export-application-global/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/rsvp/dist/rsvp.js:473:11)
    at Object.$$rsvp$asap$$flush [as _onImmediate] (/Users/iradchenko/sandbox/ember-export-application-global/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/rsvp/dist/rsvp.js:1581:9)
    at processImmediate [as _immediateCallback] (timers.js:330:15)
@rwjblue
Copy link
Member

rwjblue commented Feb 7, 2015

You need to use ember-cli-qunit > 0.3.1.

@knownasilya
Copy link
Author

Using ember-cli-qunit 0.3.4

@rwjblue
Copy link
Member

rwjblue commented Feb 7, 2015

And ember-qunit 0.2.4?

@rwjblue
Copy link
Member

rwjblue commented Feb 7, 2015

Can you try rm -rf bower_components && bower install ?

@backspace
Copy link

What does your ember-qunit specification in bower.json look like? I had to manually fix mine. I don’t understand the Ember CLI addon update process I guess!

@backspace
Copy link

Perhaps this belongs in another issue, but should I expect deprecation warnings after the update? I didn't change any of the tests to use the passed-in assert but I didn't see any notice of that.

@rwjblue
Copy link
Member

rwjblue commented Feb 7, 2015

No, it is an upstream deprecation (in QUnit itself). I do not think they are actually issuing warnings and such yet.

@jcope2013
Copy link

same issue on ember 1.9.1, ember cli 0.1.12, ember-cli-qunit 0.3.4 and ember-qunit 0.2.5

"ember-qunit": "0.2.5"

doing this in my bower.json works instead

"ember-qunit": "rwjblue/ember-qunit-builds#0.2.5"

@gmajoulet
Copy link

@jcope2013 your solution worked for me too (Ember 1.10 Ember CLI 0.1.12 CLI-qunit 0.3.4)

@rwjblue
Copy link
Member

rwjblue commented Feb 10, 2015

@jcope2013 - the main repo does not contain built assets, so "ember-qunit": "0.2.5" should not work properly.

@jcope2013
Copy link

@rwjblue the confusing thing is it used to be this, so changing it to 0.2.5 would make sense

"ember-qunit": "0.1.8"

and now it's this

"ember-qunit": "rwjblue/ember-qunit-builds#0.2.5"

want me to submit a PR documenting this in the readme?

@rwjblue
Copy link
Member

rwjblue commented Feb 10, 2015

@jcope2013 - ember-qunit was not updated in bower registry (until about 5 minutes ago) to point to the builds repo. As of now you can use "ember-qunit": "0.2.5" and it should work....

@rwjblue
Copy link
Member

rwjblue commented Feb 10, 2015

The blueprint for ember-cli-qunit@0.3.7 should be working properly now.

@rwjblue rwjblue closed this as completed Feb 10, 2015
@knownasilya
Copy link
Author

@rwjblue
Copy link
Member

rwjblue commented Feb 10, 2015

@knownasilya - Can you npm cache clear && bower cache clean && rm -rf node_modules bower_components && npm install && bower install?

@knownasilya
Copy link
Author

@rwjblue that did it. I always forget to clean the cache. It makes such a difference..

@HamptonMakes
Copy link

got bit by this too. :P

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

6 participants