Web Tool Bag  
Home · Articles · Downloads · Discussion Forum · Web Links · News Categories · Synonyms DatabaseMarch 19 2024 08:12:10
Navigation
Home
Articles
Downloads
Discussion Forum
Web Links
News Categories
Synonyms Database
Search
Users Online
Guests Online: 1
No Members Online

Registered Members: 856
Unactivated Members: 118
Newest Member: lakim
Forum Threads
Newest Threads
Error: Cannot find m...
Uncaught Error: _reg...
Module build failed:...
Installation
mochi script questions
Hottest Threads
Installation [12]
Any questions and... [5]
Captcha picture d... [4]
Integrate with Vi... [4]
Mods: Sucess/Than... [4]
 
Latest Articles
Ubuntu: the vpn conn...
Howto Install HP Pri...
ReactJS progress met...
react-show-more-text
react-collapsible-co...
View Thread
Web Tool Bag | Web Development | Web Development
Author Module build failed: Error: Unexpected "space" found.
lakim
Member

Posts: 6
Location:
Joined: 21.07.16
Posted on 27-12-2016 07:29
When I use css-loader and webpack.optimize.UglifyJsPlugin, the following problem rise:

[INFO] ERROR in ./~/css-loader!./css/main.css
[INFO] Module build failed: Error: Unexpected "space" found.
[INFO] at new error (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-selector-parser/dist/processor.js:29:23)
[INFO] at Parser.error (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-selector-parser/dist/parser.js:234:15)
[INFO] at Parser.pseudo (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-selector-parser/dist/parser.js:364:18)
[INFO] at Parser.parse (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-selector-parser/dist/parser.js:553:22)
[INFO] at Parser.loop (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-selector-parser/dist/parser.js:521:18)
[INFO] at new Parser (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-selector-parser/dist/parser.js:104:21)
[INFO] at Processor.process (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-selector-parser/dist/processor.js:26:21)
[INFO] at getParsed (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-minify-selectors/dist/index.js:32:59)
[INFO] at optimise (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-minify-selectors/dist/index.js:107:21)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/container.js:241:28
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/container.js:148:26
[INFO] at Root.each (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/container.js:114:22)
[INFO] at Root.walk (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/container.js:147:21)
[INFO] at Root.walkRules (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/container.js:239:25)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss-minify-selectors/dist/index.js:133:20
[INFO] at LazyResult.run (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:276:20)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:190:37
[INFO] at LazyResult.asyncTick (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:204:15)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:202:27
[INFO] at LazyResult.asyncTick (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:204:15)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:202:27
[INFO] at LazyResult.asyncTick (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:204:15)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:202:27
[INFO] at LazyResult.asyncTick (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:204:15)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:202:27
[INFO] at LazyResult.asyncTick (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:204:15)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:202:27
[INFO] at LazyResult.asyncTick (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:204:15)
[INFO] at /home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:202:27
[INFO] at LazyResult.asyncTick (/home/zdrsoft/booking-expo/otaibe-ui/src/main/resources/static/react/node_modules/postcss/lib/lazy-result.js:204:15)

Edited by lakim on 27-12-2016 07:30
Author RE: Module build failed: Error: Unexpected "space" found.
lakim
Member

Posts: 6
Location:
Joined: 21.07.16
Posted on 27-12-2016 07:42
I found and resolve the problem. The bug was in wrong written CSS code. I found the error when I removed the entire content of the problematic css file, then optimization with UglifyJsPlugin passed ok, the I placed a part of the css content in the css file, and run again UglifyJsPlugin, then the optimization with UglifyJsPlugin passed, I have repeated this operation until the error rise and in this way I was able to locate the css error.
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Which PHP framework do you preffer?

Symfony

Zend

CodeIgniter

PHP on TRAX

eZ Components

Fusebox

PhpOpenbiz

Prado

QPHP

Seagull

You must login to vote.
Shoutbox
You must login to post a message.

Vince
03/10/2011 18:17
Hi, How to remove Register from Login screen? I don't want them to register and have full access! if you leave register then they should not have any rights until the admin assigns them

webtoolz
26/09/2011 08:28
Please describe your problem with more details. Thank you.

bimmer98
22/11/2010 18:31
Help. There was a problem with the request; error regarding feedbackzdr form program

Custom web software development by Devzone Tech
Copyright © 2024 - www.webtoolbag.com