postcss-100vh-fix icon indicating copy to clipboard operation
postcss-100vh-fix copied to clipboard

error PostCSS plugin postcss-100vh-fix requires PostCSS 8

Open gabrielmlinassi opened this issue 4 years ago • 3 comments

I'm getting the error PostCSS plugin postcss-100vh-fix requires PostCSS 8 when starting the dev server with Parcel 2:

The packages are these: "postcss": "^8.3.6", "postcss-100vh-fix": "^1.0.2", "parcel": "^2.0.0-nightly.790"

Anyone with the same problem?

gabrielmlinassi avatar Jul 29 '21 14:07 gabrielmlinassi

I have same problem as due to compatibility with vue.js 3 I installed tailwindcss with postcss7.0 compat

now this plugin requires postcss8

I hope there is a postcss7 compatible version

Ali-Javanmardi avatar Aug 27 '21 17:08 Ali-Javanmardi

I ended up going with another solution that doesn't require the plugin. Get the height from the window.innerHeight. It will not count the bottom nav bar height.

gabrielmlinassi avatar Aug 28 '21 13:08 gabrielmlinassi

Great, I did the same and got correct result on my android chrome. I hope it works for all versions

Ali-Javanmardi avatar Aug 28 '21 18:08 Ali-Javanmardi