This dependency was not found: * !!vue-style-loader!css-loader?{"sourceMap":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-13160bbb","scoped":true,"hasInlineConfig":false}!sass-loader?{"sourceMap":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ScreenAdapter.vue in ./src/components/view/SystemHomepage/ScreenAdapter.vue To install it, you can run: npm install --save !!vue-style-loader!css-loader?{"sourceMap":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-13160bbb","scoped":true,"hasInlineConfig":false}!sass-loader?{"sourceMap":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./ScreenAdapter.vue Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'
时间: 2023-12-02 17:04:52 浏览: 313
这个错误提示是说在你的 `ScreenAdapter.vue` 文件中引入的样式文件(`.scss` 或 `.css`)没有找到。可能是因为这个样式文件没有被正确地安装或者引入。
你可以尝试运行以下命令,重新安装依赖:
```
npm install
```
如果还是出现这个错误,可以尝试手动安装这个样式依赖:
```
npm install --save-dev style-loader css-loader sass-loader
```
然后检查你的 `ScreenAdapter.vue` 文件中的样式引入是否正确,例如:
```vue
<template>
<div class="screen-adapter"></div>
</template>
<style lang="scss">
.screen-adapter {
// your styles
}
</style>
```
注意,如果你的样式文件中还涉及到其他依赖,例如 `node-sass`,你也需要对它们进行相应的安装和配置。
相关问题
(node:7668) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. (Use `node --trace-deprecation ...` to show where the warning was created) 12% building modules 24/29 modules 5 active ...plate&index=0!D:\DEMO\hhn\src\App.vue{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }. 94% asset optimization ERROR Failed to compile with 1 errors 14:24:32 This dependency was not found: * !!vue-style-loader!css-loader?{"sourceMap":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-4bcb6fe4","scoped":true,"hasInlineConfig":false}!stylus-loader?{"sourceMap":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./LoginView.vue in ./src/views/user/LoginView.vue To install it, you can run: npm install --save !!vue-style-loader!css-loader?{"sourceMap":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-4bcb6fe4","scoped":true,"hasInlineConfig":false}!stylus-loader?{"sourceMap":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./LoginView.vue
这个错误提示表明在你的项目中缺少一个依赖项。根据错误信息中提供的建议,你可以尝试运行以下命令来安装缺失的依赖项:
```
npm install --save !!vue-style-loader!css-loader?{"sourceMap":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-4bcb6fe4","scoped":true,"hasInlineConfig":false}!stylus-loader?{"sourceMap":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./LoginView.vue
```
运行以上命令后,该依赖项应该被正确安装,然后你可以重新编译你的项目。希望这能解决你的问题!如果还有其他问题,请随时提问。
This dependency was not found: * vue-awesome-mui in ./src/main.js
这个错误通常表示你的代码中引用了 `vue-awesome-mui`,但是该依赖包并没有安装或安装失败。
你可以尝试通过以下命令安装该依赖包:
```
npm install vue-awesome-mui --save
```
或者,如果你使用的是 yarn 包管理工具,可以尝试以下命令:
```
yarn add vue-awesome-mui
```
如果安装成功后仍然出现相同的错误,请检查你的代码是否正确引用了该依赖包,并且该依赖包是否正确安装到了项目中。
阅读全文