Git Product home page Git Product logo

Comments (10)

aredridel avatar aredridel commented on September 28, 2024 3

Interesting. I'll have to dig into why, unless someone else gets to it first!

from node-bin-gen.

vkrol avatar vkrol commented on September 28, 2024 3

The cause of the problem is yarnpkg/yarn#3421. The workaround is yarnpkg/yarn#3421 (comment).

from node-bin-gen.

aredridel avatar aredridel commented on September 28, 2024 1

Possibly! how does yarn install binaries?

from node-bin-gen.

nicolo-ribaudo avatar nicolo-ribaudo commented on September 28, 2024 1

Note that this package doesn't work with PnP, which is the "algorithm" used by Yarn 2 and which is opt-in in yarn 1: yarnpkg/berry#637 (comment)

from node-bin-gen.

Apidcloud avatar Apidcloud commented on September 28, 2024

You mean the command to do so? yarn add package_x.

the official website might be a little tricky to find as it's not the 1st result, at least for me (https://yarnpkg.com/en/)

Ah, please let me know if there's something I could contribute with in this matter. I think the current version of this vs. @8.9.4 is quite different (particularly index.js), but I'm willing to help 😄

from node-bin-gen.

aredridel avatar aredridel commented on September 28, 2024

Mmm. I don't use yarn at all, so I'm not sure with how it differs from how npm installs packages. Where does it put binaries if not in node_modules/.bin?

(I can do the digging, but any help and context you can give will speed it up!)

from node-bin-gen.

Apidcloud avatar Apidcloud commented on September 28, 2024

It should be inside node_modules/.bin as well. When I use npm install [email protected], it shows that it runs installArchSpecificPackage.js, whereas yarn doesn't.

My first guess when I first noticed the issue, was whether it was running the preinstall script at all. But it's probably an issue within node-bin-setup index.js.

image

from node-bin-gen.

aredridel avatar aredridel commented on September 28, 2024

Oh interesting! Does yarn generally skip scripts like that?

from node-bin-gen.

Apidcloud avatar Apidcloud commented on September 28, 2024

No, not really. Just did a quick test and it calls a "pre" script just fine.

from node-bin-gen.

Apidcloud avatar Apidcloud commented on September 28, 2024

Thanks a lot for taking the time to! 😄

from node-bin-gen.

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.