Skip to content

[postcss@0.6] Module build failed: TypeError: Cannot read property 'before' of undefined #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iam4x opened this issue Aug 25, 2015 · 3 comments

Comments

@iam4x
Copy link

iam4x commented Aug 25, 2015

postcss-loader@0.6 css-loader@0.16.0 cssnext@1.8.4

my app.css:

@import 'bootstrap/dist/css/bootstrap';

body {
  padding-top: 100px;
}

/* on dev make redux-devtool always shown */
.navbar-fixed-top {
  z-index: 998;
}

.user-list ul,
.user-list li {
  list-style-type: none;
  padding: 10px 0px;
}

.user-list li {
  padding: 10px 20px;
}

.user-list li img {
  margin-right: 10px;
}

Had to rollback to 0.5.1

@ai
Copy link
Contributor

ai commented Aug 25, 2015

This issue from old version of postcss-import, which still uses PostCSS 4.x with many hacks, so we can't handle compatibility fixes.

@MoOx was released new version. Maybe we need to wait for cssnext update.

Downgrade postcss-loader until cssnext update.

@ai ai closed this as completed Aug 25, 2015
@MoOx
Copy link
Contributor

MoOx commented Aug 25, 2015

We need to get all modules compatible. Please track this issue MoOx/postcss-cssnext#202

@iam4x
Copy link
Author

iam4x commented Aug 25, 2015

Okey thank's subscribed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants