Git Product home page Git Product logo

Comments (12)

dmtrKovalenko avatar dmtrKovalenko commented on May 18, 2024 2

That's unfair! I'll take a look into that ASAp

from odiff.

dmtrKovalenko avatar dmtrKovalenko commented on May 18, 2024 1

I will work on several odiff fixes on thanksgiving weekends and will fix the issue

from odiff.

dmtrKovalenko avatar dmtrKovalenko commented on May 18, 2024 1

Need to revisit that one, workaround should help. Remove node_modules/odiff before you do npm install on CI

from odiff.

nick-fields avatar nick-fields commented on May 18, 2024 1

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.

TrySound avatar TrySound commented on May 18, 2024

Hi, having the same in vercel deploy. Something in their env?

Installed by yarn 1

from odiff.

dmtrKovalenko avatar dmtrKovalenko commented on May 18, 2024

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.

TrySound avatar TrySound commented on May 18, 2024

Thanks!

from odiff.

alvesvaren avatar alvesvaren commented on May 18, 2024

The workaround of adding "preinstall": "rm -rf node_modules/odiff-bin" to the script-section of package.json works for me, thanks

from odiff.

alvesvaren avatar alvesvaren commented on May 18, 2024

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:
Screenshot_20221208_104623

It seems to fail once every other time I run yarn upgrade odiff-bin

from odiff.

nick-fields avatar nick-fields commented on May 18, 2024

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.

dmtrKovalenko avatar dmtrKovalenko commented on May 18, 2024

It would be very helpful if you can create isolated repository specifically for your issue so I can debug it

from odiff.

alvesvaren avatar alvesvaren commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.