Comments (5)
I tried it with you testcase but it works fine:
Hash: feccf5455ff9dacf0bc2
Version: webpack 1.4.3
Time: 1108ms
Asset Size Chunks Chunk Names
app.js 1669 0 [emitted] main
main.css 194280 0 [emitted] main
app.js.map 1826 0 [emitted] main
main.css.map 85 0 [emitted] main
[0] ./app.js 36 {0} [built]
[1] ./less/DRDashboard.less 41 {0} [built]
[2] ./~/css-loader!./~/less-loader!./less/DRDashboard.less 37494 [built]
[3] ./~/style-loader/addStyles.js 3183 [built]
[4] ./~/css-loader/cssToString.js 352 [built]
[5] ./img/buttons_chat.sprite.png 7381 [built]
[6] ./img/icons_toggle_group.sprite.png 5365 [built]
[7] ./img/icon_groupMessaging.png 1461 [built]
[8] ./img/icons_open_chat_item.sprite.png 1909 [built]
[9] ./img/icon_attachment.png 2149 [built]
[10] ./img/button-dashboard.sprite.png 5313 [built]
[11] ./img/legend-icon.sprite.png 1609 [built]
[12] ./img/dot-margin-icon.png 1313 [built]
Child extract-text-webpack-plugin:
[0] ./~/css-loader!./~/less-loader!./less/DRDashboard.less 37494 {0} [built]
[1] ./~/css-loader/cssToString.js 352 {0} [built]
[2] ./img/buttons_chat.sprite.png 7381 {0} [built]
[3] ./img/icons_toggle_group.sprite.png 5365 {0} [built]
[4] ./img/icon_groupMessaging.png 1461 {0} [built]
[5] ./img/icons_open_chat_item.sprite.png 1909 {0} [built]
[6] ./img/icon_attachment.png 2149 {0} [built]
[7] ./img/button-dashboard.sprite.png 5313 {0} [built]
[8] ./img/legend-icon.sprite.png 1609 {0} [built]
[9] ./img/dot-margin-icon.png 1313 {0} [built]
Are all your dependencies up to date?
from extract-text-webpack-plugin.
I think so, I am using exact same copy of test case as you do (including rm -Rf node-modules; npm install
step). And having latest node (0.10.32). Maybe some platform difference? I have OS X 10.9.4, what about you?
Here is complete output, for every step. It might clarify something.
Step1 - initial
Jardas-MacBook-Pro:test athli$ webpack
Hash: 7fa0ad55780483d39354
Version: webpack 1.4.3
Time: 1010ms
Asset Size Chunks Chunk Names
app.js 1669 0 [emitted] main
main.css 194280 0 [emitted] main
app.js.map 1826 0 [emitted] main
main.css.map 85 0 [emitted] main
[0] ./app.js 36 {0} [built]
+ 12 hidden modules
Child extract-text-webpack-plugin:
+ 10 hidden modules
step2 - syntax mistake created in less file
Hash: cfe49749efc671a23ec7
Version: webpack 1.4.3
Time: 37ms
Asset Size Chunks Chunk Names
app.js 6222 0 [emitted] main
app.js.map 7611 0 [emitted] main
+ 4 hidden modules
ERROR in ./~/css-loader!./~/less-loader!./less/DRDashboard.less
Module build failed: missing opening `{`
@ /Users/athli/tmp/test/less/DRDashboard.less (line 129, column 0)
near lines:
}
}
@ ./less/DRDashboard.less 4:14-181
ERROR in ./less/DRDashboard.less
Module build failed: Error: Didn't get a result from child compiler
at Object.<anonymous> (/Users/athli/tmp/test/node_modules/extract-text-webpack-plugin/loader.js:83:22)
at Tapable.<anonymous> (/Users/athli/tmp/test/node_modules/webpack/lib/Compiler.js:210:10)
at /Users/athli/tmp/test/node_modules/webpack/lib/Compiler.js:397:12
at Tapable.next (/Users/athli/tmp/test/node_modules/webpack/node_modules/tapable/lib/Tapable.js:69:11)
at Object.<anonymous> (/Users/athli/tmp/test/node_modules/extract-text-webpack-plugin/loader.js:76:5)
at Tapable.next (/Users/athli/tmp/test/node_modules/webpack/node_modules/tapable/lib/Tapable.js:71:37)
at CachePlugin.<anonymous> (/Users/athli/tmp/test/node_modules/webpack/lib/CachePlugin.js:40:4)
at Tapable.applyPluginsAsync (/Users/athli/tmp/test/node_modules/webpack/node_modules/tapable/lib/Tapable.js:73:13)
at Tapable.<anonymous> (/Users/athli/tmp/test/node_modules/webpack/lib/Compiler.js:394:9)
at Tapable.<anonymous> (/Users/athli/tmp/test/node_modules/webpack/lib/Compilation.js:529:13)
Child extract-text-webpack-plugin:
+ 1 hidden modules
ERROR in ./~/css-loader!./~/less-loader!./less/DRDashboard.less
Module build failed: missing opening `{`
@ /Users/athli/tmp/test/less/DRDashboard.less (line 129, column 0)
near lines:
}
}
step 3 - syntax corrected
Hash: 7fa0ad55780483d39354
Version: webpack 1.4.3
Time: 341ms
Asset Size Chunks Chunk Names
/Users/athli/tmp/test/node_modules/extract-text-webpack-plugin /Users/athli/tmp/test/node_modules/css-loader/index.js!/Users/athli/tmp/test/node_modules/less-loader/index.js!/Users/athli/tmp/test/less/DRDashboard.less.map 77767 [emitted]
app.js 1669 0 [emitted] main
main.css 194280 0 [emitted] main
app.js.map 1826 0 [emitted] main
main.css.map 85 0 [emitted] main
+ 13 hidden modules
Child extract-text-webpack-plugin:
Asset Size Chunks Chunk Names
/Users/athli/tmp/test/node_modules/extract-text-webpack-plugin /Users/athli/tmp/test/node_modules/css-loader/index.js!/Users/athli/tmp/test/node_modules/less-loader/index.js!/Users/athli/tmp/test/less/DRDashboard.less.map 77767 [emitted]
+ 10 hidden modules
from extract-text-webpack-plugin.
ah ok... i missed the syntax error step...
from extract-text-webpack-plugin.
This was a tricky one... 😄
from extract-text-webpack-plugin.
Thanks!
from extract-text-webpack-plugin.
Related Issues (20)
- Not working with webpack 4 HOT 4
- How to get that generated css in webpack plugin even in dev mode where style-loader is being used? HOT 1
- remove neo-async HOT 1
- webpack 3.8.1 css loader not working HOT 1
- Newbie question. Sorry for my ignorance. How do I uninstall? HOT 2
- Remove "/" from href="" on generated HTML HOT 1
- Sourcemaps are not linked HOT 1
- How to use this plugin and minify SCSS to CSS? HOT 7
- CSS file not generated HOT 3
- "extract-text-webpack-plugin" loader is used without the corresponding plugin HOT 3
- lost -webkit-box-orient HOT 2
- no vendor.css
- How to extract critical and uncritical css to different separate css file? HOT 1
- Stats/debug log could be improved HOT 1
- CSS is extracted from Dynamically loaded chunks, but not injected in page by the fallback loader HOT 1
- Removes Required CSS HOT 1
- Chrome Refused to apply style HOT 1
- Not able to run karma getting errors related to ```extract-text-webpack-plugin``` HOT 1
- 4.0.0-beta for a year+ - is this a dead project? HOT 2
- I've also got this issue: Module parse failed: Unexpected character '#' (17:0); HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extract-text-webpack-plugin.