env #761
-
How to delete this dependency
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Elaborate your problem please. |
Beta Was this translation helpful? Give feedback.
-
@NagoriMustakim from package.json file remove it from dependencies if do not want to use it. More particularly you also need to remove it from the node_modules folder if you want to remove it completely. But it then left all of the packages on which this package was dependent inside the node_modules folder. So you can remove the whole node_modules folder and recreate the fresh copy of node_modules with the command |
Beta Was this translation helpful? Give feedback.
@NagoriMustakim from package.json file remove it from dependencies if do not want to use it. More particularly you also need to remove it from the node_modules folder if you want to remove it completely.
But it then left all of the packages on which this package was dependent inside the node_modules folder. So you can remove the whole node_modules folder and recreate the fresh copy of node_modules with the command
npm install
.