-
Notifications
You must be signed in to change notification settings - Fork 2
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
Preinstall crashes with file not found and package-lock.json #28
Comments
The underlying issue is rogeriochaves/npm-force-resolutions#36. The accepted answer is to change npm-force-resolutions to force-resolutions, as this will not run when a package-lock.json is not present, covering the scenario when you install a package (like we do)
fix: repair force resolutions, closes #28
🎉 This issue has been resolved in version 1.2.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@klassm, thank you for the PR and bringing this issue to my attention. Personally was trying to limit the annoying vulnerability alerts from dev dependencies so I know when there is one for a production dependency. I did not expect an issue in the production build but I'm glad you found a resolution so quick. Thank you. |
Sure, we are using the plugin. So we can also at least try to help you maintain it. |
@klassm, I love the attitude, it is how I feel as well! I'm glad we created this issue and pushed a fix so that this package does not fail on installation. However, I did just come across that the force-resolutions package does not work as intended so we have a half-fix. I just opened this issue on their repository angelogiuseppe/force-resolutions#1. Basically, I'm back to where we were before |
Hi,
we are happily using the eslint-plugin-testcafe-community. Since the last version (1.2.6) it crashes during
npm install
with the following error:Do you have any advice on how to solve this issue? The npm-force-resolutions seems to have been introduced in the most recent version.
Thank you so much!
Matthias
The text was updated successfully, but these errors were encountered: