'Module not found: Error: Can't resolve 'vue-confirm-dialog'
Vue.js + node.js is the basis of my app. I wanted to use the vue-confirm-dialog package from npm but this code line leads to an error:
import VueConfirmDialog from 'vue-confirm-dialog'
I have already executed: npm install --save vue-confirm-dialog and the module vue-confirm-dialog appears in the package.json file.
The error message Module not found: Error: Can't resolve 'vue-confirm-dialog' still appears.
Solution 1:[1]
Had the same issue today, solved it by downgrading vue-confirm-dialog to 1.0.2.
npm install [email protected] --save
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Wojciech Dziedzic |
