GithubHelp home page GithubHelp logo

Comments (17)

prabhu avatar prabhu commented on July 22, 2024 18

Please take your time for the new fix. Even Q4 2018 is actually very good.

from opencollective-cli.

asood123 avatar asood123 commented on July 22, 2024 14

Sorry about that. We are working on fixing it right now.

from opencollective-cli.

asood123 avatar asood123 commented on July 22, 2024 14

We unpublished the offending version to unblock everyone. Working on new version to get the original fix out.

from opencollective-cli.

prabhu avatar prabhu commented on July 22, 2024 12

I think your package is the new leftPad now. Our whole team is now stuck because one of the package we use has ^1.0.3 for opencollective.

from opencollective-cli.

amatiasq avatar amatiasq commented on July 22, 2024 6

NPM is on fire!!! πŸ’©

from opencollective-cli.

tsuna avatar tsuna commented on July 22, 2024 5

I'm also still regularly running into this issue

npm ERR! path /code/web/node_modules/opencollective/dist/bin/opencollective.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/code/web/node_modules/opencollective/dist/bin/opencollective.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

from opencollective-cli.

kurtinatlanta avatar kurtinatlanta commented on July 22, 2024 3

i'd prefer to not have this dependency at all and not have it run some postinstall script that breaks our builds.

i support what people are trying to do, but, ideally, you'd find a better way to achieve your goal.

if a transitive dependency to this project continues to cause us issues, we'll have to either avoid opencollective projects entirely, ask the owners to remove it (which one has already graciously done), or fork the repos and 'fix' them not to depend on opencollective.

from opencollective-cli.

xdamman avatar xdamman commented on July 22, 2024 3

Sorry about those issues, we didn't realize there would be so many edge cases (node version 4x on multiple OS/environments, etc.).

We just published a very lightweight version that doesn't have any dependency: https://github.com/opencollective/opencollective-postinstall

Just replace in your package.json the opencollective dependency with opencollective-postinstall and in scripts.postinstall section, replace opencollective postinstall with opencollective-postinstall

Let us know your thoughts and pull requests welcome!

from opencollective-cli.

irrg avatar irrg commented on July 22, 2024 3

@xdamman worked out in my scenario and I've done pull requests for both the nuxt 1.4 branch and the current dev branch. FWIW, you might want to close the existing issues that came along with from the opencollective-cli repo 😜

from opencollective-cli.

kurtinatlanta avatar kurtinatlanta commented on July 22, 2024 1

We get this error on our build box with (I believe 1.03):

> [email protected] postinstall <redacted>/node_modules/react-slick
> opencollective postinstall

sh: <redacted>/node_modules/.bin/opencollective: Permission denied

We don't get this problem with any of our other dependencies.

from opencollective-cli.

qikkeronline avatar qikkeronline commented on July 22, 2024

I am somehow getting this error when running NPM install in a Docker container, but not on my local machine using the exact same Node and NPM versions. Any reason why this can happen? About to start pulling hairs out 😁

from opencollective-cli.

asood123 avatar asood123 commented on July 22, 2024

can you upgrade to 1.04 please? We had an issue with 1.03.

from opencollective-cli.

asood123 avatar asood123 commented on July 22, 2024

@kurtinatlanta point noted. :)

from opencollective-cli.

irrg avatar irrg commented on July 22, 2024

@asood123 re: your 1.0.4. comment…I'm interested in getting rid of my opencollective-cli related issues in my nuxt.js environment but 1.0.3 is the latest version published to npm?

from opencollective-cli.

irrg avatar irrg commented on July 22, 2024

I've seen several repos talking about @tsuna 's issue, for what it's worth. Including here nuxt/nuxt#3025

from opencollective-cli.

irrg avatar irrg commented on July 22, 2024

@xdamman awesome, testing in my fork now!

from opencollective-cli.

ralphtheninja avatar ralphtheninja commented on July 22, 2024

i'd prefer to not have this dependency at all and not have it run some postinstall script that breaks our builds.

A quick tip is to append || exit 0 to the postinstall script. We use this in level, see https://github.com/Level/level/blob/ddd4a78884ac17648d024df684235070687394a7/package.json#L46

Maybe opencollective could suggest using this by default, or include that when making PRs when enabling open collective for a project?

from opencollective-cli.

Related Issues (8)

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.