Laravel混合依赖未找到错误

时间:2017-04-22 22:53:47

标签: laravel npm mix css-loader jquery-filer

我使用干净且最新的Laravel 5.4。 我在npm run dev

上有错误
ERROR  Failed to compile with 4 errors                                                                                                  
This dependency was not found:

    * -!../../../node_modules/css-loader/index.js?{"url":true,"sourceMap":false}!../assets/fonts/jquery.filer-icons/jquery-filer.css in ./~/css-loader?{"url":true,"sourceMap":false}!./~/postcss-loader?{"sourceMap":false}!./~/resolve-url-loader!./~/sass-loader/lib/loader.js?{"precision":8,"outputStyle":"expanded","sourceMap":true}!./resources/assets/sass/app.scss

    To install it, you can run: npm install --save -!../../../node_modules/css-loader/index.js?{"url":true,"sourceMap":false}!../assets/fonts/jquery.filer-icons/jquery-filer.css

app.scss:

@import "node_modules/jquery.filer/css/jquery.filer";

jquery.filer.css:

@import url('../assets/fonts/jquery.filer-icons/jquery-filer.css');

我试图改变这条路,但它无论如何都不起作用

0 个答案:

没有答案