Skip to content

Error when using unsupported PostCSS version (#361)#362

Merged
RyanZim merged 1 commit intopostcss:masterfrom
thinkverse:unsupported-postcss-version-error
Dec 8, 2020
Merged

Error when using unsupported PostCSS version (#361)#362
RyanZim merged 1 commit intopostcss:masterfrom
thinkverse:unsupported-postcss-version-error

Conversation

@thinkverse
Copy link
Copy Markdown
Contributor

Added the postcss version check @ai talked about. Changed the wording a bit and used the built-in error function.

As for testing this functionality, not going to lie. I couldn't get this error to throw ones, even did the steps mentioned in the issue (#361) by using npm link to this version and installing plugins that use PostCSS 7 and it builds the CSS file and didn't throw a single error.

Seems like this error might be thrown very rarely? But I do hope it helps in the long run. 🙂

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 81.41% when pulling e140a29 on thinkverse:unsupported-postcss-version-error into 4b9b66d on postcss:master.

1 similar comment
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 81.41% when pulling e140a29 on thinkverse:unsupported-postcss-version-error into 4b9b66d on postcss:master.

@ai
Copy link
Copy Markdown
Member

ai commented Dec 7, 2020

@RyanZim this PR is ready to merge. My yarn/npm error message suggestion is not a blocker to merge and release it (especially since a lot of users have this problem right now).

@thinkverse
Copy link
Copy Markdown
Contributor Author

I tried to find a good solution to the auto-discovery of the package manager but to no avail. Could keep looking for a solution for a later PR though of the feature is really needed.

@RyanZim
Copy link
Copy Markdown
Collaborator

RyanZim commented Dec 8, 2020

KISS; no need for any fancy auto-detection. LGTM

@RyanZim RyanZim merged commit 96b6521 into postcss:master Dec 8, 2020
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

Successfully merging this pull request may close these issues.

4 participants