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

Failed to compile. #256

Open
MasterKnockCode opened this issue Jun 28, 2018 · 8 comments
Open

Failed to compile. #256

MasterKnockCode opened this issue Jun 28, 2018 · 8 comments

Comments

@MasterKnockCode
Copy link

ERROR in .//_css-loader@0.27.3@css-loader!.//_vue-loader@11.3.4@vue-loader/lib/style-compiler?{"id":"data-v-54abe700","scoped":false,"hasInlineConfig":true}!.//_sass-loader@6.0.7@sass-loader/lib/loader.js!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=styles&index=0!.//_vue-bulma-tabs@1.1.3@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 G:\IdeaProjects\vue-admin\node_modules_vue-bulma-tabs@1.1.3@vue-bulma-tabs\src\Tabs.vue (line 114, column 1)
@ ./
/_vue-style-loader@2.0.5@vue-style-loader!./
/_css-loader@0.27.3@css-loader!./
/_vue-loader@11.3.4@vue-loader/lib/style-compiler?{"id":"data-v-54abe700","scoped":false,"hasInlineConfig":true}!.//_sass-loader@6.0.7@sass-loader/lib/loader.js!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=styles&index=0!.//_vue-bulma-tabs@1.1.3@vue-bulma-tabs/src/Tabs.vue 4:14-340 13:3-17:5 14:22-348
@ ./
/_vue-bulma-tabs@1.1.3@vue-bulma-tabs/src/Tabs.vue
@ .//_vue-bulma-tabs@1.1.3@vue-bulma-tabs/src/index.js
@ ./
/_babel-loader@6.4.1@babel-loader/lib!./~/_vue-loader@11.3.4@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

@salamat1307
Copy link

I have the same problem

@jremi
Copy link

jremi commented Jun 30, 2018

Try this to resolve:

  1. Go into the folder /vue-admin/node_modules/bulma/sass/utilities
  2. Add this file:
    https://raw.githubusercontent.com/jgthms/bulma/master/sass/utilities/initial-variables.sass
  3. Try to rebuild webpack (for example: npm run dev)

@rannawang
Copy link

I try to do this , but it didn't work ,and I find that file would have existed.

@Samdyddd
Copy link

and,you must annotated '@import '~wysiwyg.css/wysiwyg.sass';',at 'App.vue';

@rannawang
Copy link

It's already contained '@import '~wysiwyg.css/wysiwyg.sass' there.

@free1139
Copy link

free1139 commented Aug 12, 2018

作为一个将近10年的码农,我表示陆续花了两天时间master都没编译通过让它运行起来,好尴尬

@rannawang
Copy link

rannawang commented Aug 13, 2018 via email

@yarinkos
Copy link

fixed !

change from :
export default (name, index = false) => () => import(views/${name}${index ? '/index' : ''}.vue)
to :
export default (name, index = false) => r => require.ensure([], () => r(require(views/${name}${index ? '/index' : ''}.vue)), name);

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

7 participants