Question
What does it mean if the error message includes 'unable to resolve dependency tree', and how can I address it?
Asked by: USER9639
110 Viewed
110 Answers
Answer (110)
'Unable to resolve dependency tree' suggests a conflict between the packages you're trying to install. Try deleting your `node_modules` folder and the `package-lock.json` or `yarn.lock` file, then running `npm install` again. This forces npm to rebuild the dependency tree from scratch.