Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission Denied #81

Closed
mostlyharmless2024 opened this issue Feb 17, 2022 · 2 comments
Closed

Permission Denied #81

mostlyharmless2024 opened this issue Feb 17, 2022 · 2 comments

Comments

@mostlyharmless2024
Copy link

Well I'm stumped... four days of banging my head on my desk is my limit...

We can't build / deploy our application because of this package / dependency

sh: 1: opencollective-postinstall: Permission denied npm ERR! code ELIFECYCLE npm ERR! errno 126 npm ERR! inferno@7.4.8 postinstall: opencollective-postinstall npm ERR! Exit status 126 npm ERR! npm ERR! Failed at the inferno@7.4.8 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

It's a dependency of Inferno (a which is a dependency of https://www.npmjs.com/package/@builder.io/widgets

We're using this inside of a Meteor 2.6 application ( https://www.meteor.com/ ) ... I'm deploying from an up-to-date windows 11 environment (though the build error occurs on the server)

Perhaps it's related to a +x (executable) permission flag that's lost between Windows / Linux?

Things I've tried:

  • Directly installing various versions of inferno and opencollective-postinstall as direct dependencies
  • The "DISABLE_OPENCOLLECTIVE=true" env var
  • A new base docker image (applying the former var)
  • A dozen other things per various GH / SO recommendations...

Similar issues (with no solutions):
#15
infernojs/inferno#1353
https://unix.stackexchange.com/questions/610638/i-am-getting-this-error-when-i-am-trying-to-deploy-to-heroku

Any ideas?

@joonass-visma
Copy link

@brendonlamb We're facing the same issue. Did you ever figure out a workaround for this?

@mostlyharmless2024
Copy link
Author

@joonass-visma Sorry I never reported back here, ultimately this was fixed by a patch released in Meteor version 2.6.1 by @renanccastro here: meteor/meteor#11932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants