vue-admin icon indicating copy to clipboard operation
vue-admin copied to clipboard

编译错误:File to import not found or unreadable: ~bulma/sass/utilities/initial-variables.

Open DOVER123 opened this issue 7 years ago • 2 comments

ERROR in ./~/[email protected]@css-loader!./~/[email protected]@vue-loader/lib/style-compiler?{"id":"data-v-36c4ae96","scoped":false,"hasInlineConfig":true}!./~/[email protected]@sass-loader/lib/loader.js!./~/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./~/[email protected]@vue-bulma-tabs/src/Tabs.vue
Module build failed:
@import '~bulma/sass/utilities/initial-variables';
^
      File to import not found or unreadable: ~bulma/sass/utilities/initial-variables.
      in D:\vue-admin-master\node_modules\[email protected]@vue-bulma-tabs\src\Tabs.vue (line 114, column 1)
 @ ./~/[email protected]@vue-style-loader!./~/[email protected]@css-loader!./~/[email protected]@vue-loader/lib/style-compiler?{"id":"data-v-36c4ae96","scoped":false,"hasInlineConfig":true}!./~/[email protected]@sass-loader/lib/loader.js!./~/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./~/[email protected]@vue-bulma-tabs/src/Tabs.vue 4:14-340 13:3-17:5 14:22-348
 @ ./~/[email protected]@vue-bulma-tabs/src/Tabs.vue
 @ ./~/[email protected]@vue-bulma-tabs/src/index.js
 @ ./~/[email protected]@babel-loader/lib!./~/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./client/views/components/Tabs.vue
 @ ./client/views/components/Tabs.vue
 @ ./client/views lazy ^\.\/.*\.vue$
 @ ./client/store/modules/menu/lazyLoading.js
 @ ./client/store/modules/menu/index.js
 @ ./client/store/index.js
 @ ./client/app.js
 @ ./client/index.js
 @ multi ./build/dev-client ./client/index.js

如果你在编译过程中出现了这个问题,尝试重新安装bulma,或者下载https://raw.githubusercontent.com/jgthms/bulma/master/sass/utilities/initial-variables.sass 放到对应文件夹下面。

DOVER123 avatar Jul 25 '18 07:07 DOVER123

https://github.com/vue-bulma/vue-admin/issues/256

Millermiller avatar Jul 26 '18 06:07 Millermiller

@Millermiller This should be fixed, this is just a workaround. Either the entire project must be upgraded, or vue-bulma-tabs should revert back to 'variables' instead of 'initial-variables'.

Kuchiriel avatar Aug 24 '18 21:08 Kuchiriel