ember-off-canvas-components icon indicating copy to clipboard operation
ember-off-canvas-components copied to clipboard

Error: Path or pattern "vendor/ember-off-canvas-components.css" did not match any files

Open kieranhall opened this issue 10 years ago • 5 comments

I was giving your addon a try and encountered this error message when I started the app after copying over the dummy app files (as per the readme instructions).

Path or pattern "vendor/ember-off-canvas-components.css" did not match any files
Error: Path or pattern "vendor/ember-off-canvas-components.css" did not match any files

It seems that the addon's styles are not being built.

Further to this, I also tried adding the addon to an existing project and first got this error:

Cannot find module '/workspace/project/node_modules/broccoli-ember-hbs-template-compiler'

I resolved this by installing the missing dependency, adding it to my project package.json. This moved me along until I then arrived at the first error I reported.

It would seem that the addon is not being built properly. I may have some time to debug this further, but wanted to raise it first.

kieranhall avatar Mar 02 '15 18:03 kieranhall

@kieranhall did you use npm install ? see https://github.com/pixelhandler/ember-off-canvas-components#as-an-ember-cli-addon

pixelhandler avatar Mar 02 '15 19:03 pixelhandler

@pixelhandler Yes, in both cases.

kieranhall avatar Mar 02 '15 19:03 kieranhall

@kieranhall you installed version 0.2.1 with npm and the css wasn't found? regarding the template compiler, I don't think that should be required to use this as an addon. If so This may be an issue with your ember / ember-cli version. I'm planning to upgrade and publish a new version this week. Since ember-cli now can work with dependencies in an addon, in my case node-sass

pixelhandler avatar Mar 02 '15 19:03 pixelhandler

@pixelhandler That's correct, 0.2.1 installed with npm and no CSS found.

Ah yes, the ember-cli version may well be the problem here. I am using the latest ember-cli (0.2.0-beta-1). Perhaps you'll encounter the same issue with the template compiler when you start the upgrade. In any case, I look forward to trying out the next release!

kieranhall avatar Mar 02 '15 19:03 kieranhall

Can you try npm run sass

pixelhandler avatar May 09 '15 00:05 pixelhandler