Skip to content
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

Throws when using inside of cssnext #5

Closed
Antontelesh opened this issue Jul 14, 2015 · 5 comments
Closed

Throws when using inside of cssnext #5

Antontelesh opened this issue Jul 14, 2015 · 5 comments
Labels

Comments

@Antontelesh
Copy link

Here is the exception message:

.../node_modules/cssnext/dist/features.js:51
    return require("postcss-selector-matches")(options);
                                              ^
TypeError: object is not a function

Seems like postcss-selector-matches is no more a function.
Maybe v1.2.0 release should be a major one as it has breaking changes.

@MoOx
Copy link
Contributor

MoOx commented Jul 14, 2015

The change is not intentional. I will push a fix.

@MoOx MoOx added the bug label Jul 14, 2015
@MoOx MoOx closed this as completed in afe918c Jul 14, 2015
@MoOx
Copy link
Contributor

MoOx commented Jul 14, 2015

Fix released as 1.2.1, please uninstall and reinstall cssnext (this should update postcss-selector-matches to 1.2.1)

@bradbarrow
Copy link

Just scrambled to fix this in production...thanks for fixing it @MoOx

I guess shrinkwrapping my repo was a valuable step to take either way.

@Antontelesh
Copy link
Author

@MoOx thank you for the really quick fix!

@vigneshshanmugam
Copy link

@MoOx That was really fast. Thanks :)

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

No branches or pull requests

4 participants