Comments (12)
That's unfair! I'll take a look into that ASAp
from odiff.
I will work on several odiff fixes on thanksgiving weekends and will fix the issue
from odiff.
Need to revisit that one, workaround should help. Remove node_modules/odiff before you do npm install on CI
from odiff.
The preinstall script wasn't enough for us for some reason. We use yarn, so pinning the version to 2.5.1 via the resolutions feature has worked so far
from odiff.
Hi, having the same in vercel deploy. Something in their env?
Installed by yarn 1
from odiff.
The problem is in our install script which fails on fs exists.
What I can think of the following workaround – remove all the folders on preinstall script. E.g. preinstall: "rm -rf node-modules/odiff-bin"
from odiff.
Thanks!
from odiff.
The workaround of adding "preinstall": "rm -rf node_modules/odiff-bin"
to the script-section of package.json works for me, thanks
from odiff.
I have upgraded to 2.5.1, but it still fails to install (exactly the same error).
I can replicate it locally by running
yarn
followed by yarn upgrade odiff-bin
in my project directory.
The folder node_modules/odiff-bin/3
seems to be deleted when running yarn, but then when it runs yarn upgrade it tries to create the same folder again.
Folder structure in my node_modules when it fails:
It seems to fail once every other time I run yarn upgrade odiff-bin
from odiff.
FWIW, I started seeing this today in our Netlify builds and once locally. We're using [email protected] (which uses [email protected]) and have been for a few weeks before seeing this for the first time.
from odiff.
It would be very helpful if you can create isolated repository specifically for your issue so I can debug it
from odiff.
I can replicate it by initializing an empty package with yarn init
, running yarn add lost-pixel
and then yarn upgrade odiff-bin
. This causes the last command to fail every other time.
from odiff.
Related Issues (20)
- Doesn't work inside azure function HOT 1
- Handle `no file or directory` UnhandledPromiseRejectionWarning HOT 2
- Homebrew formula? HOT 1
- A Cypress plugin
- Antialiasing is failing on tiny font differences HOT 2
- No output option
- odiff: internal error, uncaught exception HOT 4
- Update peer dependencies related Cypress HOT 3
- [bug] Image comparaison issue HOT 4
- Windows build HOT 1
- Does not respect EXIF orientation HOT 2
- Feature request: Add option to specify acceptable percentage of different pixels HOT 6
- Assume `nul` if no DIFF is given HOT 1
- Does not work on Windows 7 systems HOT 1
- Screenshot's resolution varies on different screen resolution. HOT 3
- Error saving diff png
- using imageUrl as input and export file for remote save HOT 1
- How do I draw different pixels to the grayscale image of the original image? HOT 1
- npm has Version 2.6.1 but there is no 2.6.1 in this repo HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odiff.