linstula / ember-cli-bootstrap

ember-cli addon for Twitter Bootstrap
37 stars 20 forks source link

"vendor/ember-cli-bootstrap/shim.js" did not match any files #35

Closed mikeumus closed 9 years ago

mikeumus commented 9 years ago

On a fresh ember-cli app, installing ember-cli-bootstrap via npm install --save-dev ember-cli-bootstrap and setting 'importBootstrapJS': true in the Brocfile, ember s --live-reloard=false outputs the following:

(precise)mikeumus@localhost:~/Downloads/Mikeumus/projects/Kissagram/Development/miss-master$ ember s --live-reload=false
version: 0.1.3
Could not find watchman, falling back to NodeWatcher for file system events
Serving on http://0.0.0.0:4200/
Path or pattern "vendor/ember-cli-bootstrap/shim.js" did not match any files
Error: Path or pattern "vendor/ember-cli-bootstrap/shim.js" did not match any files
    at Object.multiGlob (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/broccoli-kitchen-sink-helpers/index.js:202:13)
    at /home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/broccoli-concat/index.js:62:32
    at $$$internal$$tryCatch (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:470:16)
    at $$$internal$$invokeCallback (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:482:17)
    at $$$internal$$publish (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:453:11)
    at $$rsvp$asap$$flush (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1531:9)
    at process._tickCallback (node.js:442:13)

This time the code is open. You may view it here: https://github.com/mikeumus/selfie

:smiley:

mikeumus commented 9 years ago

Maybe I'm just missing a step. :confused: I did the following:

Not precisely in that order but those are all the things I've done in this new ember-cli app so far. I've got it working locally with #36 but deploying to Heroku I get the above error again of course (as Heroku pull from NPM and bower). I can load my customized version of ember-cli-bootstrap as my own node_module, that should work with Heroku. Pardon the stream of consciousness here, it helped. :blush:

adamsrog commented 9 years ago

I'm experiencing the same issue on a fresh project using ember-cli 0.1.4.

oblakeerickson commented 9 years ago

I'm also experiencing the same issue on a fresh ember-cli 0.1.4 project.

jakecraige commented 9 years ago

This is happening because this commit added an import to a shims file and that file was never included in this repo. Probably because vendor is gitignored o.O

ping @linstula can you correct that?

linstula commented 9 years ago

vendor is no longer ignored. Version 0.0.14 has been published with the fix. Sorry for the confusion!