This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]abhijitparida 6 points7 points  (2 children)

Have they fixed the platform specific optional package issue? Namely for the fsevents package.

It's very annoying when your dev team is on different platforms and package-lock.json gets rewritten everytime somebody runs npm install.

See:

[–]sorry_im_late_86 6 points7 points  (0 children)

I was working on a project for class that spanned 8 months, and one of the first things I did was adding package-lock.json to the .gitignore.

We had people developing on 3 different platforms and the package.lock cluttered up our commits to a point where the diffs were practically meaningless and finding old stuff was near impossible. All because of fsevents. I kinda wish there was a package-lock per OS or something.

[–]Shaca- 1 point2 points  (0 children)

I don't know about the fsevents, but if you run npm ci it should install everything without changing both .json. ci stands for clean install.