vue-bulma / vue-admin

We are refactoring it, using the latest Vue and Bulma. WIP
9.43k stars 1.61k forks source link

compile error #200

Closed silentred closed 4 years ago

silentred commented 7 years ago

vue-admin git:(master) ✗ npm run dev

> vue-admin@0.1.12 dev /Users/jason/Desktop/projects/vue-admin
> cross-env NODE_ENV=development node build/dev-server.js

[HPM] Proxy created: /MODApis  ->  http://dev.markitondemand.com
webpack: wait until bundle finished:
webpack: wait until bundle finished: /index.html
webpack built 125d81114d994bf14d38 in 42946ms
Hash: 125d81114d994bf14d38
Version: webpack 2.5.1
Time: 42946ms
                                                 Asset     Size         Chunks  Chunk Names
                                                 13.js  92.3 kB             13
            assets/img/fontawesome-webfont.912ec66.svg   444 kB
          assets/fonts/fontawesome-webfont.b06871f.ttf   166 kB
        assets/fonts/fontawesome-webfont.af7ae50.woff2  77.2 kB
         assets/fonts/fontawesome-webfont.fee66e7.woff    98 kB
    assets/img/materialdesignicons-webfont.633c9b8.svg  2.09 MB
  assets/fonts/materialdesignicons-webfont.f540b42.eot   275 kB
  assets/fonts/materialdesignicons-webfont.292b2f8.ttf   274 kB
assets/fonts/materialdesignicons-webfont.7f88c63.woff2   104 kB
 assets/fonts/materialdesignicons-webfont.c28dbba.woff   135 kB
                                                  0.js  19.2 MB              0
                                                  1.js  2.43 MB              1
                                                  2.js  2.42 MB              2
                                                  3.js  2.43 MB              3
                                                  4.js  91.5 kB  4, 10, 11, 12
                                                  5.js   152 kB              5
                                                  6.js   306 kB              6
                                                  7.js   109 kB              7
                                                  8.js   123 kB              8
                                                  9.js   214 kB              9
                                                 10.js  51.3 kB             10
                                                 11.js  46.5 kB             11
                                                 12.js  47.7 kB             12
          assets/fonts/fontawesome-webfont.674f50d.eot   166 kB
                                                 14.js  1.22 MB             14
                                                 15.js   541 kB             15
                                                 16.js   379 kB             16
                                                 17.js  50.2 kB             17
                                                 18.js  94.5 kB             18
                                                 19.js  42.8 kB             19
                                                 20.js    54 kB             20
                                                 21.js  54.8 kB             21
                                                 22.js  32.3 kB             22
                                                 23.js  33.1 kB             23
                                                 24.js  21.9 kB             24
                                                 25.js  14.8 MB             25
                                                 26.js  37.5 kB             26
                                                 27.js    39 kB             27
                                                 28.js  36.9 kB             28
                                                 29.js  27.1 kB             29
                                                 30.js  43.9 kB             30
                                                 31.js  12.8 kB             31
                                                 32.js  6.34 kB             32
                                                 33.js  6.14 kB             33
                                                app.js  1.37 MB             34  app
                                             vendor.js  1.03 MB             35  vendor

ERROR in ./~/_vue-bulma-jump@0.0.2@vue-bulma-jump/src/index.js
Module parse failed: /Users/jason/Desktop/projects/vue-admin/node_modules/_vue-bulma-jump@0.0.2@vue-bulma-jump/src/index.js Unexpected token (1:7)
You may need an appropriate loader to handle this file type.
| export BackToTop from './BackToTop'
| export default from './Jump'
|
 @ ./~/_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/BackToTop.vue 50:0-43
 @ ./client/views/components/BackToTop.vue
 @ ./client/views async ^\.\/.*\.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

ERROR in ./~/_vue-bulma-emoji@0.0.2@vue-bulma-emoji/src/index.js
Module parse failed: /Users/jason/Desktop/projects/vue-admin/node_modules/_vue-bulma-emoji@0.0.2@vue-bulma-emoji/src/index.js Unexpected token (1:7)
You may need an appropriate loader to handle this file type.
| export filter from './filter'
|
| export EmojiIcon from  './EmojiIcon'
 @ ./~/_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/Emoji.vue 52:0-52
 @ ./client/views/components/Emoji.vue
 @ ./client/views async ^\.\/.*\.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

ERROR in ./~/_vue-bulma-progress-tracker@0.0.4@vue-bulma-progress-tracker/src/index.js
Module parse failed: /Users/jason/Desktop/projects/vue-admin/node_modules/_vue-bulma-progress-tracker@0.0.4@vue-bulma-progress-tracker/src/index.js Unexpected token (1:7)
You may need an appropriate loader to handle this file type.
| export StepItem from './StepItem'
| export default from './Tracker'
|
 @ ./~/_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/ProgressTracker.vue 76:0-71
 @ ./client/views/components/ProgressTracker.vue
 @ ./client/views async ^\.\/.*\.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
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks  Chunk Names
    index.html  1.48 MB       0
webpack: Failed to compile.
luventa commented 7 years ago

You may need this: Prerequisites

zhangjuanjuan01 commented 7 years ago

do i need to install Python???

zhangjuanjuan01 commented 7 years ago

@silentred Did your question resolved??i have the same question with you?

catg0tfish commented 7 years ago

@luventa my system is ubuntu 16.04 i use node v8 npm v5 and also install python2.7 and the node-gyp dose this project only support node v5.x and npm3.x?