You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
I have a project that I started on macOS, that has fsevents in package.json and package-lock.json. When I work on this project on Ubuntu and run npm i, it removes fsevents from package-lock.json. I'm not sure if this is intended, but this would ultimately result in macOS & Ubuntu fighting by constantly adding/removing fsevents whenever npm i is run.
This can be closed , since it is fixed in the 5.6.0 version :
bc263c3#19054 Fully cross-platform package-lock.json. Installing a failing optional dependency on one platform no longer removes it from the dependency tree, meaning that package-lock.json should now be generated consistently across platforms! 🎉 (@iarna)
I'm opening this issue because:
What's going wrong?
I have a project that I started on macOS, that has
fsevents
inpackage.json
andpackage-lock.json
. When I work on this project on Ubuntu and runnpm i
, it removesfsevents
frompackage-lock.json
. I'm not sure if this is intended, but this would ultimately result in macOS & Ubuntu fighting by constantly adding/removingfsevents
whenevernpm i
is run.supporting information:
npm -v
prints: 5.4.2node -v
prints: v4.8.2npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: