I was using gulp on the project, then i decide to deleted all the dev dependencies to switch to webpack, but every time i try to install using npm is get this error:
If your app is running on npm you may need to stop it before you add or install anything.
I had this problem several times. I was running my react native app with expo cli. After closing the expo cli and closing chrome , my problem was fixed.