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.

v8.6.10 broke our build, rolling back to 8.6.9 resolved issue

See original GitHub issue

I didn’t yet look into what exactly is wrong with recent changes, but locally on windows it caused no issues, but on our Linux based CI build, the recent changes (8.6.10) caused the following error:

` ERROR in ./node_modules/react-image-crop/lib/ReactCrop.scss 20:57:47 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): 20:57:47 ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js): 20:57:47 SassError: Invalid CSS after “…le-height: math”: expected expression (e.g. 1px, bold), was “.div($drag-handle-h” 20:57:47 on line 21 of node_modules/react-image-crop/lib/ReactCrop.scss 20:57:47

$half-drag-handle-height: math.div($drag-handle-height, 2); 20:57:47

20:57:47 ------------------------------^ 20:57:47

20:57:47 at C:\BuildAgent\work\b859c7b6b98da306\node_modules\webpack\lib\NormalModule.js:316:20 20:57:47 at C:\BuildAgent\work\b859c7b6b98da306\node_modules\loader-runner\lib\LoaderRunner.js:367:11 20:57:47 at C:\BuildAgent\work\b859c7b6b98da306\node_modules\loader-runner\lib\LoaderRunner.js:233:18 20:57:47 at context.callback (C:\BuildAgent\work\b859c7b6b98da306\node_modules\loader-runner\lib\LoaderRunner.js:111:13) 20:57:47 at Object.callback (C:\BuildAgent\work\b859c7b6b98da306\node_modules\sass-loader\dist\index.js:62:7) 20:57:47 at Object.done [as callback] (C:\BuildAgent\work\b859c7b6b98da306\node_modules\neo-async\async.js:8069:18) 20:57:47 at options.error (C:\BuildAgent\work\b859c7b6b98da306\node_modules\node-sass\lib\index.js:293:32) 20:57:47 @ ./src/modules/common/components/file-upload-dialog/image-cropper/image-cropper.tsx 11:0-45 20:57:47 @ ./src/modules/common/components/file-upload-dialog/file-upload-dialog.tsx 20:57:47 @ ./src/modules/settings/profile-settings/components/profile-avatar/profile-avatar.tsx 20:57:47 @ ./src/modules/settings/profile-settings/components/profile-settings-list/profile-settings-list.tsx 20:57:47 @ ./src/modules/settings/profile-settings/profile-settings.tsx 20:57:47 @ ./src/modules/settings/settings.tsx 20:57:47 @ ./src/router/routes.tsx 20:57:47 @ ./src/app.tsx 20:57:47 @ ./src/index.tsx 20:57:47 @ multi ./src/index `

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
stee-rencommented, Jun 15, 2021

Like Tobias already pointed out, you can always fix it to 8.6.9 in your package.json

"react-image-crop": "8.6.9",

Notice the ^ or ~ are missing (important)

1reaction
stee-rencommented, Jun 15, 2021

We’re unfortunately using node-sass, which I guess is the issue. Its a good hint, we should plan to move away from node-sass but we’re in end-game and I’m not sure of the impact of switching right now. We will look into this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

netlify-cli | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
TMS320C6000 Optimizing Compiler v8.2.x - Texas Instruments
If you use Code Composer Studio (CCS) as your development environment, the compiler and linker options are automatically set for you when you...
Read more >
Intel Ethernet Controller E810
NVM update and allow rolling back to previously known good. NVM when device cannot load from current active bank. ▫ Extensive test and...
Read more >
Index of Portage & Programming - Gentoo Forums
Page:1 · "[Solved] getting rid of dev-util/boost-build" Page:1 · "(solved) libqtxdg breaks ... "Revert emerge's (new?) behavior back to scrolling" Page:1 ...
Read more >
Beekmans - Linux From Scratch!
To truly make it my own system, I resolved to compile everything from ... If you run into a problem with a build...
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