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

Npm install fails due to post install script #2968

Closed
theTechGoose opened this issue Sep 23, 2022 · 4 comments
Closed

Npm install fails due to post install script #2968

theTechGoose opened this issue Sep 23, 2022 · 4 comments

Comments

@theTechGoose
Copy link

theTechGoose commented Sep 23, 2022

hello,
I cannot deploy my firebase project because this is a dependency to alot of packages I have installed. The remote build bails with code 127 and says 'sh: patch-package: command not found'

I tried to install the package locally and the same thing happens when I run npm install underscore --force. How can I fix this?

@vincent-ogury
Copy link

duplicate this: #2967

@evan-coygo
Copy link

same, i'm unable to deploy to production right now because this breaks the build

@iglosiggio
Copy link

iglosiggio commented Sep 23, 2022

You can add patch-package as a devDependency in your project (as a hacky workaround, i don't really like the idea of a dependency patching other dependencies). EDIT: No, I was wrong you need a global install (the child package doesn't have visibility of binaries under node_modules/.bin)

@jgonggrijp
Copy link
Collaborator

I just released 1.13.6, hopefully that fixes it. Please close if that is the case.

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

No branches or pull requests

5 participants