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.

antd2.13.0 checkbox build failed

See original GitHub issue

Version

2.13.0

Environment

macOS Sierra10.12.6 Chrome60.0.3112.113 react15.1.0 webpack3.5.5

Reproduction link

https://github.com/and80506/ant-design-demo.git

Steps to reproduce

npm run build

What is expected?

webpack build succeed

What is actually happening?

ERROR in ./node_modules/.2.13.0@antd/lib/checkbox/style/index.css
Module build failed: media definitions require block statements after any features
 @ /Users/andy/code/ant-design-demo/node_modules/.2.13.0@antd/lib/checkbox/style/index.css (line 180, column 7)
 near lines:
   }
   @media \0screen {
     .ant-checkbox-checked .ant-checkbox-inner:before,
 @ ./node_modules/.2.13.0@antd/lib/checkbox/style/css.js 5:0-22
 @ ./index.js
 @ multi ./index

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ant-design-botcommented, Sep 4, 2017

It will be better to write your issue/comment in English, so more people can understand you. And this means that more people can help you or benefit from your issue/comment. See: https://github.com/ant-design/ant-design/issues/4897

0reactions
and80506commented, Oct 25, 2017

good job!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Antd Checkboxes deselect after re-rendering component
I'm trying to create antd Checkbox.Group that consists of normal checkboxes as well as the "New Value" checkbox, selecting which would ...
Read more >
checked checkbox form ant design stackoverflow - You.com
ant design - Update checked value of a checkbox inside a Form.Item using Form.setFieldsValue ... ant-design/ant-designantd2.13.0 checkbox build failed#7447.
Read more >
antd - npm
An enterprise-class UI design language and React components implementation. Latest version: 5.1.0, last published: 4 days ago.
Read more >
Checkbox - Ant Design
Checkbox component. When To Use. Used for selecting multiple values from several options. If you use only one checkbox, it is the same...
Read more >
ant-design - Issuehunt
Only first Form Item error is shown after validation fails ... checkbox checked icon is not in the center of the input in...
Read more >

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