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

styled-jsx-plugin-postcss not work with node12 #34

Closed
superkoh opened this issue Aug 26, 2020 · 2 comments
Closed

styled-jsx-plugin-postcss not work with node12 #34

superkoh opened this issue Aug 26, 2020 · 2 comments

Comments

@superkoh
Copy link

sample project: https://github.com/superkoh/styled-jsx-plugin-postcss-not-work-with-node12

when use node 12, the process will hang at

processor(cssWithPlaceholders, settings)
    .then(resolved)
    .catch(resolved)
loopWhile(() => wait)

seems promise can not be returned.

How to reproduce:

  1. clone the project: https://github.com/superkoh/styled-jsx-plugin-postcss-not-work-with-node12
  2. npm install
  3. npm run dev

when use node 10, all seems ok. when use node 12, hang at the code above

@giuseppeg
Copy link
Owner

should be related to #31

giuseppeg pushed a commit that referenced this issue Sep 6, 2020
It should fix #31 #32 #34

Remove `deasync` in favor of `spawnSync`.
@giuseppeg
Copy link
Owner

should be fixed in #35

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

2 participants