Open ateliershen opened 3 years ago
Same here
With postcss v8.2.12 I receive the error
#22 33.41 ParserError: Syntax Error at line: 1, column 51
#22 33.41 at /srv/app/node_modules/plyr/dist/plyr.css:1:2198
See this build log
I got the same error Module build failed (from ./node_modules/postcss-loader/src/index.js): friendly-errors 16:17:14 ParserError: Syntax Error at line: 1, column 51 at .....\node_modules\plyr\dist\plyr.css:1:2198 Nuxt 2.15.4 and last version. It works with plyr: 3.6.4
thks for the help
I'm experiencing the same problem. I tried rolling postcss back from 8.2.12 to 8.2.10, but the error remains.
As an interim workaround, I've removed Plyr's css from my plugin file, and instead am pulling it from the unpkg CDN. It now successfully generates the build.
export default {
head() {
return {
link: [
{
rel: 'stylesheet',
href: 'https://unpkg.com/vue-plyr/dist/vue-plyr.css',
},
],
}
},
}
Same in my side, in plus vue-jlyr is really big so use cdn for the only page I use was a better solution
Same issue here
I also would love to see this issue fixed!
I also get the error with postcss7 and vue-plyr, so I am wondering if postcss is really the culprit here...
Still broken on my end.
@unremarkablegarden the solution of @elihorne is working if you need a workaround
Now that postcss-preset-env v7 is out, monitor https://github.com/nuxt/nuxt.js/pull/10060 and https://github.com/nuxt/nuxt.js/pull/9671.
In the meantime you can add the following to your package.json
:
"resolutions": {
"postcss-preset-env": "7.0.1"
}
Please tell if that workaround works for you!
Hi,
I am using
Nuxt.js v2.15.4
andvue-plyr 7
. It throws the following error when running thebuild
command:I am following the SSR instructions from the readme, using the exact same settings. Is anyone else encountering the same issue? Thanks.