This dependency was not found+ Error: EBUSY: resource busy or locked, lstat ‘D:\DumpStack.

created at 12-24-2021 views: 2


Encountered such an error when executing npm run serve.

The first thing that needs to be determined is that the error and the last line error

(Error from chokidar (D:\): Error: EBUSY: resource busy or locked, lstat'D:\DumpStack.log.tmp')

has nothing to do with itself.

reason and solution

after some search I figured out that it is an error caused by introduction of external js file.

Combined with This dependency was not found: Find the specific introduction, and found the problem

import ... from '@views/system/service'
import ... from '@ant-design/icons-vue'

Comparing '@views/system/service' and '@ant-design/icons-vue', the system mistakenly thinks that the former is an external library, so it prompts This dependency was not found:, which aims to make We install it. But in fact, @views/system/service is a file I introduced internally, so following the prompt method must be deadlocked.

In the end, it was determined that a grammatical problem caused the error (a slash / was missing before views). The correct writing is '@/views/system/service'.

I hope it will help you.

Please log in to leave a comment.