question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pod-styles generation fails w/ 2.9.0-beta.2

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
webarkcommented, Nov 5, 2016

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.

0reactions
ihompcommented, Dec 2, 2016

same issue for me…

ember-component-css: You have not yet created a component style file.

failed to locate @import file pod-styles.styl

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found