pod-styles generation fails w/ 2.9.0-beta.2
See original GitHub issueI’m currently in the process of upgrading a project to test ember-cli@2.9.0-beta.2
. Unfortunately when attempting ember s
, the build fails with the following message:
File: /home/vagrant/projects/csa/tmp/sass_compiler-input_base_path-KMlTyrD2.tmp/0/app/styles/app.scss (10)
The Broccoli Plugin: [SassCompiler] failed with:
Error: File to import not found or unreadable: pod-styles
Parent style sheet: /home/vagrant/projects/csa/tmp/sass_compiler-input_base_path-KMlTyrD2.tmp/0/app/styles/app.scss
at options.error (/home/vagrant/projects/csa/node_modules/node-sass/lib/index.js:292:26)
The broccoli plugin was instantiated at:
at SassCompiler.Plugin (/home/vagrant/projects/csa/node_modules/broccoli-plugin/index.js:7:31)
at SassCompiler.CachingWriter [as constructor] (/home/vagrant/projects/csa/node_modules/broccoli-caching-writer/index.js:18:10)
at new SassCompiler (/home/vagrant/projects/csa/node_modules/broccoli-sass-source-maps/index.js:20:17)
at /home/vagrant/projects/csa/node_modules/ember-cli-sass/index.js:30:18
at Array.reduce (native)
at SASSPlugin.toTree (/home/vagrant/projects/csa/node_modules/ember-cli-sass/index.js:20:48)
at /home/vagrant/projects/csa/node_modules/ember-cli-preprocess-registry/preprocessors.js:180:26
at Array.forEach (native)
at processPlugins (/home/vagrant/projects/csa/node_modules/ember-cli-preprocess-registry/preprocessors.js:178:11)
at module.exports.preprocessCss (/home/vagrant/projects/csa/node_modules/ember-cli-preprocess-registry/preprocessors.js:148:10)
After double checking, I can see that no pod-styles.scss
file is being generated and there are no other errors being displayed.
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ohh… you’re running into https://github.com/ebryn/ember-component-css/pull/180 You get that error if you don’t have a component style file defined yet. I was waiting to do another release and bring this one in with that in the next week.
This just creates a dummy file. You add at least 1 component style file, then that error will go away.
same issue for me…
ember-component-css: You have not yet created a component style file.
failed to locate @import file pod-styles.styl