robin1liu / vue-mermaid

flowchart of mermaid with vue component
MIT License
126 stars 25 forks source link

The dependency was not found #30

Open ayoubgm opened 2 years ago

ayoubgm commented 2 years ago

Hello, I've try to use vue-mermaid component, I have tried to install vue-mermaid in combination with vue.js 2.6.12.

Following the readme I have used: npm install --save vue-mermaid

Then I added the following lines to my main.js file: import VueMermaid from "vue-mermaid"; Vue.use(VueMermaid);

When I am starting vue with: npm run serve

i getting an error on terminal: ERROR Failed to compile with 1 error 4:16:04 PM This dependency was not found: * vue-mermaid in ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/flow-design/WebFlowDesign.vue?vue&type=script&lang=js& To install it, you can run: npm install --save vue-mermaid Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'

Help please.`

mrzygood commented 2 years ago

Duplicate: https://github.com/robin1liu/vue-mermaid/issues/29. There is working solution.

nmkyy commented 1 year ago

maybe lost this file upload to npm "rollup.config.js"