Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DOVER123 opened this issue Jul 25, 2018 · 2 comments

Comments

@DOVER123
Copy link

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 放到对应文件夹下面。

@Millermiller
Copy link

#256

@Kuchiriel
Copy link

Kuchiriel commented Aug 24, 2018

@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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants