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
npm told me I had vulnerabilities that could be fixed using npm audit fix. So I decided to give it a shot. Everything was committed to git, so my code was save (in my mind). But somehow npm audit fix does changes to more than just package.json and package-lock.json. It seems to have completely broken my project to the point where all I can get out of it is an error during webpack that says "[object Object]".
This is definitely not an acceptable way for any software to work and I think it should be fixed urgently, as other people might fall into the same trap.
Expected Behavior
I expected dependencies to be updated, which I could easily revert by deleting node_modules and package-lock.json. However some magical other changes also occur, seemingly breaking the project.
Steps To Reproduce
create an SPFx webpart project using react.
run npm audit fix
nothing works anymore
Environment
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm told me I had vulnerabilities that could be fixed using npm audit fix. So I decided to give it a shot. Everything was committed to git, so my code was save (in my mind). But somehow npm audit fix does changes to more than just package.json and package-lock.json. It seems to have completely broken my project to the point where all I can get out of it is an error during webpack that says "[object Object]".
This is definitely not an acceptable way for any software to work and I think it should be fixed urgently, as other people might fall into the same trap.
Expected Behavior
I expected dependencies to be updated, which I could easily revert by deleting node_modules and package-lock.json. However some magical other changes also occur, seemingly breaking the project.
Steps To Reproduce
Environment
No response
The text was updated successfully, but these errors were encountered: