Im getting this error in any libraryjs that i try to install , why this is happening?
Hey @JuanEliasJabib! How are you?
This error that is appearing in your terminal is related to incompatibility of package.json
dependencies. Normally this error can be resolved with the vtex setup
command in the root of your project. (Commands reference).
If that doesn’t work, you can delete the node_modules
folder and the package-lock.json
inside the node
folder and then run yarn install
there again to install the dependencies.
Hope this helps you!
Micael Pereira
Web Developer | MTD
2 Likes