Failed to minify the code from this file
See original GitHub issueI am using pica to resize images in the browser and it produces very good result. however I can only run it in development. Ideas?
yarn run v1.3.2
$ react-scripts build
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/pica/lib/mathlib.js:19
Read more here: http://bit.ly/2tRViJ9
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Failed to minify the code from this file - Stack Overflow
Now when I want to build my project I get an error: Failed to compile. Failed to minify the code from this file:...
Read more >Failed to minify the code from this file #3734 - GitHub
Failed to minify the code from this file I keep running to this error with many packages that i'm using in my project,...
Read more >Resolving "Failed to minify the bundle" Errors - CircleCI Support
TerserWebpackPlugin. The following error message is usually related to running out of memory during a job: Failed to minify the bundle.
Read more >Code Failed To Minify - Google Groups
Hey all, Built an App with TensorflowJS integrated with Create-React-App. Worked fine on my laptop but once I tried to deploy it onto...
Read more >Npm - Matt Button
js Creating an optimized production build... Failed to compile. Failed to minify the code from this file: ./node_modules/@ckeditor/ckeditor5-build-classic/build ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
you can import the mignified file directly: import pica from ‘pica/dist/pica.min’ that would solve the problem
@ykshev,
No, I have no solution yet. Since it causes the project to fail to build, I have to back out the lib for now.
Leo