Empty compilation output
See original GitHub issueHi,
Compilation generates empty output. I set couple of sass/scss files :
- fubar.css
- fubar.sass
- fubar.scss
it compiles a app.css file with only content from the fubar.css file.
The app.css.map contain the following informations :
"sourcesContent":["h1{\n font-weight: 200;\n}\n","",""]
where the two last empty string comme from fubar.sass and fubar.scss
However fubar.sass and fubar.scss are really compiled. If I drop some error in those files, brunch ouput thoses error in the console.
Any idea ?
- sass --version : Sass 3.4.19
- brunch --version : 1.8.5
- node --version : v0.10.32
- sass-brunch version : 1.9.1
Brunch config, coming from elixir initialisation :
exports.config = {
// See http://brunch.io/#documentation for docs.
files: {
javascripts: {
joinTo: "js/app.js"
},
stylesheets: {
joinTo: "css/app.css"
},
templates: {
joinTo: "js/app.js"
}
},
conventions: {
assets: /^(web\/static\/assets)/
},
// Phoenix paths configuration
paths: {
// Dependencies and current project directories to watch
watched: [
"deps/phoenix/web/static",
"deps/phoenix_html/web/static",
"web/static",
"test/static"
],
// Where to compile files to
public: "priv/static"
},
// Configure your plugins
plugins: {
babel: {
// Do not use ES6 compiler in vendor code
ignore: [/web\/static\/vendor/]
},
sass: {
// debug: 'comments',
// mode: 'native',
options: {
includePaths: ['bower_components/foundation/scss'],
}
}
},
modules: {
autoRequire: {
"js/app.js": ["web/static/js/app"]
}
},
npm: {
enabled: true
}
};
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
My output in the compiler is empty, but the program has 0 errors
I have tried running the program, but no output was shown in the compiler even though there are no errors while compiling.
Read more >Compiled output files are empty (0 bytes) #746 - GitHub
Compiled output files are empty (0 bytes) #746 ... are empty (file size 0 bytes)!. In particular, the compile+upload command used is:.
Read more >Help! Empty output when I compile a simp - C++ Forum
When i compile the code i have 0 error but the output is empty when I run it only the black screen sets...
Read more >[PyOpenCL] Non-empty compiler output warning from Intel ...
Hi all, Recently I have been playing around with OpenCL on the Intel Xeon Phi. A quirk of the OpenCL stack (which also...
Read more >Compiler Errors - GameMaker Manual
These errors will be caught by GameMaker as the game is being compiled and this information will also be shown in the Compiler...
Read more >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
I found a workaround.
Put these lines to the
brunch-config.js
:As the documentation of Brunch says, watcher gets slower but can be more reliable by setting
true
to this option.At least on my environment, situation has improved cleary.
Solved my problem on Ubuntu 16.04.