ef4 / ember-browserify

ember-cli addon for easily loading CommonJS packages from npm via browserify.
MIT License
172 stars 28 forks source link

Error: Path or pattern "browserify/browserify.js" did not match any files #13

Closed timini closed 9 years ago

timini commented 9 years ago
Error: Path or pattern "browserify/browserify.js" did not match any files
    at Object.multiGlob (/home/tim/Desktop/DNADigest/code/api.repositive.io/frontend/node_modules/ember-cli/node_modules/broccoli-concat/node_modules/broccoli-kitchen-sink-helpers/index.js:221:13)
    at /home/tim/Desktop/DNADigest/code/api.repositive.io/frontend/node_modules/ember-cli/node_modules/broccoli-concat/index.js:62:32
    at $$$internal$$tryCatch (/home/tim/Desktop/DNADigest/code/api.repositive.io/frontend/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:470:16)
    at $$$internal$$invokeCallback (/home/tim/Desktop/DNADigest/code/api.repositive.io/frontend/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:482:17)
    at $$$internal$$publish (/home/tim/Desktop/DNADigest/code/api.repositive.io/frontend/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:453:11)
    at $$rsvp$asap$$flush (/home/tim/Desktop/DNADigest/code/api.repositive.io/frontend/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1531:9)
    at process._tickCallback (node.js:419:13)
ef4 commented 9 years ago

Thanks for the bug report, but this is not enough to reproduce the problem. Can you make it happen repeatably?

timini commented 9 years ago

I was using ember-cli 1.2 upgraded to 1.5 and it works :)

ef4 commented 9 years ago

OK, glad it's working.

knownasilya commented 9 years ago

Also getting this issue, doing import cartodb from 'npm:cartodb.js';. This seems to be an issue with modules with a . in the name..

Using v0.6.2 with ember-cli 0.1.11

knownasilya commented 9 years ago

I reinstalled ember-browserify and did a rebuild, not I get:

Cannot find module 'cartodb.js' from '/Users/me/workspace/myproject/tmp/core_object-input_staging-YtuOU2bK.tmp'

I cleared tmp/ and nothing changed. That module is installed, trying reinstall now.. no luck.

jesse-black commented 9 years ago

I get this issue, here are steps to reproduce:

  1. run ember serve on an ember project
  2. edit one of the js files to import a nonexistent module: import foo from 'npm:foo'. when ember serve reloads the file, it prints the normal error message that the module cannot be found.
  3. fix the file by deleting the invalid import. when ember serve reloads it prints the error: Error: Path or pattern "browserify/browserify.js" did not match any files

After that ember serve is in a broken state and won't work until you restart it.

wolfbiter commented 9 years ago

+1 I'm getting the above error exactly as @jesse-black describes

why was this issue closed? I'm using ember cli version 0.2.5

ef4 commented 9 years ago

Thank all for your reports, I fixed this and released as 0.6.6.