question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build Error for v3.0.9

See original GitHub issue

I just updated plyr-react package from 3.0.8 to 3.0.9 and tried to re-build my react project. It just failed with the following error message!

Failed to compile.

./node_modules/plyr-react/dist/plyr.css
ParserError: Syntax Error at line: 1, column 51

error Command failed with exit code 1.

error img: https://i.imgur.com/7KdrPGn.png my node.js version is v14.17.5

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
realamirhecommented, Sep 17, 2021

@charan0017, The issue appears to be caused by postcss-custom-properties processing an already minified plyr.css file.

By adding the following to your package, you can utilize yarn resolutions for react-scripts to use the same version.

"resolutions": {
    "postcss-custom-properties": "^11.0.0"
  },

for a more detailed explanation, you can see this answer and this csstools issue

4reactions
charan0017commented, Sep 17, 2021

@charan0017, The issue appears to be caused by postcss-custom-properties processing an already minified plyr.css file.

By adding the following to your package, you can utilize yarn resolutions for react-scripts to use the same version.

"resolutions": {
    "postcss-custom-properties": "^11.0.0"
  },

for a more detailed explanation, you can see this answer and this csstools issue

Wow, It just worked like Charm! Thanks. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

aws-appsync-subscription-link v3.0.9 compile error · Issue #678
Project using aws-appsync-subscription-link v3.0.9 fails to compile in a project which uses it. If the current behavior is a bug, please provide ...
Read more >
Native Support in Spring Boot 3.0.0-M5
Support varies depending on the error: Build failure during the ahead-of-time optimization phase, please report to the Spring Framework issue ...
Read more >
Failed to resolve: com.github.PhilJay:MPAndroidChart:v2.1.4
I'm using MPAndroidChart library in android studio. But when I'm trying to sync gradle I get an error as shown in below image....
Read more >
Bug listing with status CONFIRMED as at 2022/12/26 10:46:31
... Bug:43387 - "parallel-netcdf-0.9.3.ebuild (New Package)" status:CONFIRMED ... to build GUI applications for Linux (new ebuild)" status:CONFIRMED ...
Read more >
KM4ACK-Pi@groups.io | Version 3.0.8 - Build-a-pi under ...
Version 3.0.8 - Build-a-pi under Preferences - error ... Sorry for my lack of training, but where is v3.0.9 and how do I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found