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

support for install with legacy peer dependencies #177

Open
kirandash opened this issue Apr 21, 2023 · 2 comments
Open

support for install with legacy peer dependencies #177

kirandash opened this issue Apr 21, 2023 · 2 comments

Comments

@kirandash
Copy link

Currently it seems like it is not possible to run npm install --legacy-peer-deps with this action script.

Can we please add support for it.

@jphawk
Copy link

jphawk commented Aug 21, 2023

That would be great to have this functionality. Now after upgrading to Node 18 from Node 16, our dependencies are getting resolved successfully locally, however, due to some typescript version mismatch in peerDependencies bahmutov/npm-install action fails to run. --legacy-peer-deps would have fixed the issue.

@tommyasai
Copy link

I could have done that using the custom install command.
https://github.com/bahmutov/npm-install#custom-install-command

      - name: Download deps
        uses: bahmutov/npm-install@v1
        with:
          useLockFile: false
          install-command: npm install --legacy-peer-deps

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

3 participants