本地是win7系统,运行cross-env NODE_ENV=development node build/prod.js
打包没有问题,
但在centos下运行则会报错:
> cross-env NODE_ENV=development node build/prod.js
> cross-env NODE_ENV=development node build/prod.js
Hash: 72c92cb34418b2605578
Version: webpack 1.14.0
Time: 55739ms
Asset Size Chunks Chunk Names
vendor/uikit/js/components/slideset.min.js 7.12 kB [emitted]
img/LogoBlack-7b8d49.png 15 kB [emitted]
img/info-680fd1.png 106 kB [emitted]
img/LogoWhite-dcaa4e.png 16.7 kB [emitted]
img/audit-c25527.png 63.9 kB [emitted]
img/create-8ceabc.png 57.3 kB [emitted]
img/process-46e33b.png 46.4 kB [emitted]
img/firm-146c42.png 44 kB [emitted]
img/partner-eaf5d0.png 130 kB [emitted]
img/weChatQR-59f469.png 60.5 kB [emitted]
img/banner1-6dd5c5.png 614 kB [emitted]
img/banner2-f1d74d.png 1.08 MB [emitted]
img/homeCamera-9bedcc.png 344 kB [emitted]
img/banner1-9e40ac.png 123 kB [emitted]
img/uploadexam-961a38.png 85 kB [emitted]
0.2e5d7d.js 322 kB 0, 35 [emitted]
1.bcb8a6.js 75 kB 1, 35 [emitted]
2.017e89.js 212 kB 2, 35 [emitted]
3.3d2225.js 72.2 kB 3, 35 [emitted]
4.e7728a.js 66.4 kB 4, 35 [emitted]
5.9335c9.js 22 kB 5, 35 [emitted]
6.3d9b62.js 68 kB 6, 35 [emitted]
7.ea01be.js 58.1 kB 7, 35 [emitted]
8.f1783a.js 19.5 kB 8, 35 [emitted]
9.175beb.js 60.2 kB 9, 35 [emitted]
10.958e34.js 17.3 kB 10, 35 [emitted]
11.0f5502.js 7.22 kB 11, 35 [emitted]
12.8f215a.js 3.69 kB 12, 35 [emitted]
13.0ce00e.js 40.1 kB 13, 35 [emitted]
14.b457d2.js 41.5 kB 14, 35 [emitted]
15.e0a502.js 8.95 kB 15, 35 [emitted]
16.5f5277.js 43.5 kB 16, 35 [emitted]
17.a530be.js 44.3 kB 17, 35 [emitted]
18.460912.js 1.86 kB 18, 35 [emitted]
19.09a3ac.js 1.19 kB 19, 35 [emitted]
20.0a3361.js 3.64 kB 20, 35 [emitted]
21.1b9f1c.js 3.33 kB 21, 35 [emitted]
22.3f0552.js 5.74 kB 22, 35 [emitted]
23.9c91d4.js 2.95 kB 23, 35 [emitted]
24.ba26a1.js 1.99 kB 24, 35 [emitted]
25.c79445.js 2.1 kB 25, 35 [emitted]
26.711f55.js 3.03 kB 26, 35 [emitted]
27.aa0cac.js 3.12 kB 27, 35 [emitted]
28.b5280a.js 1.81 kB 28, 35 [emitted]
29.7e7af6.js 1 kB 29, 35 [emitted]
30.8b3699.js 374 bytes 30, 35 [emitted]
31.9ed324.js 412 bytes 31, 35 [emitted]
32.bef7cc.js 412 bytes 32, 35 [emitted]
33.a42d54.js 412 bytes 33, 35 [emitted]
34.71a09a.js 384 bytes 34, 35 [emitted]
mainifest.1822f9.js 1.62 kB 35 [emitted] mainifest
app.a0d25d.js 128 kB 36, 35 [emitted] app
vendor.4833d7.js 115 kB 37, 35 [emitted] vendor
app.e594ac.css 20.7 kB 36, 35 [emitted] app
.bowerrc 29 bytes [emitted]
bower.json 324 bytes [emitted]
css/style.css 3.17 kB [emitted]
css/style.less 3.26 kB [emitted]
sdk/c_sdk.zip 2.84 kB [emitted]
sdk/python_sdk.zip 2.62 kB [emitted]
images/LogoBlack.png 15 kB [emitted]
images/LogoWhite.png 16.7 kB [emitted]
images/favicon.ico 4.29 kB [emitted]
images/algoTop.jpg 87.4 kB [emitted]
images/projectDetailTop.png 886 kB [emitted]
images/homeTop.jpg 101 kB [emitted]
images/projectTop.jpg 85.1 kB [emitted]
images/signin.jpg 712 kB [emitted]
images/weChatQR.png 60.6 kB [emitted]
images/indexicon/1.1_icon.png 1.52 kB [emitted]
images/indexicon/1.2_icon.png 1.56 kB [emitted]
images/signup.jpg 330 kB [emitted]
images/indexicon/1.4_icon.png 5.49 kB [emitted]
images/indexicon/1.3_icon.png 4.2 kB [emitted]
images/indexicon/2.1_icon.png 1.75 kB [emitted]
images/indexicon/2.2_icon.png 2.02 kB [emitted]
images/indexicon/2.3_icon.png 1.66 kB [emitted]
images/indexicon/2.4_icon.png 1.69 kB [emitted]
images/indexicon/3.1_icon.png 2.23 kB [emitted]
images/indexicon/3.2_icon.png 1.86 kB [emitted]
images/indexicon/4.1_icon.png 1.79 kB [emitted]
images/indexicon/4.2_icon.png 1.3 kB [emitted]
images/indexicon/4.3_icon.png 3.84 kB [emitted]
images/indexicon/4.4_icon.png 1.63 kB [emitted]
vendor/file-saver/.bower.json 662 bytes [emitted]
vendor/file-saver/FileSaver.js 5.96 kB [emitted]
vendor/file-saver/FileSaver.min.js 2.45 kB [emitted]
vendor/file-saver/bower.json 404 bytes [emitted]
vendor/uikit/.bower.json 736 bytes [emitted]
vendor/uikit/bower.json 554 bytes [emitted]
vendor/uikit/fonts/FontAwesome.otf 125 kB [emitted]
vendor/uikit/fonts/fontawesome-webfont.ttf 153 kB [emitted]
vendor/uikit/fonts/fontawesome-webfont.woff 90.4 kB [emitted]
vendor/uikit/fonts/fontawesome-webfont.woff2 71.9 kB [emitted]
vendor/uikit/css/uikit.almost-flat.css 187 kB [emitted]
vendor/uikit/css/uikit.almost-flat.min.css 109 kB [emitted]
vendor/uikit/css/uikit.css 179 kB [emitted]
vendor/uikit/css/uikit.gradient.min.css 112 kB [emitted]
vendor/uikit/css/uikit.gradient.css 191 kB [emitted]
vendor/uikit/css/uikit.min.css 103 kB [emitted]
vendor/uikit/css/components/accordion.almost-flat.css 1.06 kB [emitted]
vendor/uikit/css/components/accordion.almost-flat.min.css 473 bytes [emitted]
vendor/uikit/css/components/accordion.css 1.01 kB [emitted]
vendor/uikit/css/components/accordion.gradient.css 1.06 kB [emitted]
vendor/uikit/css/components/accordion.gradient.min.css 473 bytes [emitted]
vendor/uikit/css/components/accordion.min.css 430 bytes [emitted]
vendor/uikit/css/components/autocomplete.almost-flat.css 1.31 kB [emitted]
vendor/uikit/css/components/autocomplete.almost-flat.min.css 509 bytes [emitted]
vendor/uikit/css/components/autocomplete.css 1.22 kB [emitted]
vendor/uikit/css/components/autocomplete.gradient.css 1.31 kB [emitted]
vendor/uikit/css/components/autocomplete.min.css 432 bytes [emitted]
vendor/uikit/css/components/datepicker.almost-flat.css 2.7 kB [emitted]
vendor/uikit/css/components/autocomplete.gradient.min.css 510 bytes [emitted]
vendor/uikit/css/components/datepicker.almost-flat.min.css 1.46 kB [emitted]
vendor/uikit/css/components/datepicker.css 2.48 kB [emitted]
vendor/uikit/css/components/datepicker.gradient.css 3.13 kB [emitted]
vendor/uikit/css/components/datepicker.min.css 1.28 kB [emitted]
vendor/uikit/css/components/datepicker.gradient.min.css 1.83 kB [emitted]
vendor/uikit/css/components/dotnav.almost-flat.css 2.77 kB [emitted]
vendor/uikit/css/components/dotnav.almost-flat.min.css 1.36 kB [emitted]
vendor/uikit/css/components/dotnav.css 2.64 kB [emitted]
vendor/uikit/css/components/dotnav.gradient.min.css 1.36 kB [emitted]
vendor/uikit/css/components/dotnav.gradient.css 2.77 kB [emitted]
vendor/uikit/css/components/dotnav.min.css 1.24 kB [emitted]
vendor/uikit/css/components/form-advanced.almost-flat.css 1.84 kB [emitted]
vendor/uikit/css/components/form-advanced.almost-flat.min.css 1.16 kB [emitted]
vendor/uikit/css/components/form-advanced.css 1.84 kB [emitted]
vendor/uikit/css/components/form-advanced.gradient.css 1.84 kB [emitted]
vendor/uikit/css/components/form-advanced.gradient.min.css 1.16 kB [emitted]
vendor/uikit/css/components/form-advanced.min.css 1.16 kB [emitted]
vendor/uikit/css/components/form-file.almost-flat.css 766 bytes [emitted]
vendor/uikit/css/components/form-file.css 766 bytes [emitted]
vendor/uikit/css/components/form-file.almost-flat.min.css 295 bytes [emitted]
vendor/uikit/css/components/form-file.gradient.css 766 bytes [emitted]
vendor/uikit/css/components/form-file.gradient.min.css 295 bytes [emitted]
vendor/uikit/css/components/form-password.almost-flat.css 809 bytes [emitted]
vendor/uikit/css/components/form-file.min.css 295 bytes [emitted]
vendor/uikit/css/components/form-password.almost-flat.min.css 403 bytes [emitted]
vendor/uikit/css/components/form-password.css 809 bytes [emitted]
vendor/uikit/css/components/form-password.gradient.css 809 bytes [emitted]
vendor/uikit/css/components/form-password.gradient.min.css 403 bytes [emitted]
vendor/uikit/css/components/form-password.min.css 403 bytes [emitted]
vendor/uikit/css/components/form-select.almost-flat.css 784 bytes [emitted]
vendor/uikit/css/components/form-select.almost-flat.min.css 309 bytes [emitted]
vendor/uikit/css/components/form-select.css 784 bytes [emitted]
vendor/uikit/css/components/form-select.gradient.css 784 bytes [emitted]
vendor/uikit/css/components/form-select.gradient.min.css 309 bytes [emitted]
vendor/uikit/css/components/form-select.min.css 309 bytes [emitted]
vendor/uikit/css/components/htmleditor.almost-flat.css 5.67 kB [emitted]
vendor/uikit/css/components/htmleditor.almost-flat.min.css 3.26 kB [emitted]
vendor/uikit/css/components/htmleditor.css 3.93 kB [emitted]
vendor/uikit/css/components/htmleditor.gradient.css 6.02 kB [emitted]
vendor/uikit/css/components/htmleditor.gradient.min.css 3.56 kB [emitted]
vendor/uikit/css/components/htmleditor.min.css 2.01 kB [emitted]
vendor/uikit/css/components/nestable.almost-flat.css 3.49 kB [emitted]
vendor/uikit/css/components/nestable.almost-flat.min.css 1.48 kB [emitted]
vendor/uikit/css/components/nestable.css 3.4 kB [emitted]
vendor/uikit/css/components/nestable.gradient.css 3.69 kB [emitted]
vendor/uikit/css/components/nestable.gradient.min.css 1.65 kB [emitted]
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/User/activated.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/UserService in /root/.jenkins/workspace/Talc/src/views/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/User/activated.vue 15:19-49
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Navbar/UserinfoBar.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/UserService in /root/.jenkins/workspace/Talc/src/components/Navbar
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Navbar/UserinfoBar.vue 7:19-49
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/UserInfo.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/components/Public/verifModal in /root/.jenkins/workspace/Talc/src/components/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/UserInfo.vue 29:18-56
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/Authentication.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/components/Public/verifModal in /root/.jenkins/workspace/Talc/src/components/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/Authentication.vue 29:18-56
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/UserInfo.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/SystemService in /root/.jenkins/workspace/Talc/src/components/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/UserInfo.vue 49:21-53
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/UserSkills.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/SystemService in /root/.jenkins/workspace/Talc/src/components/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/UserSkills.vue 31:21-53
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/Authentication.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/SystemService in /root/.jenkins/workspace/Talc/src/components/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/Authentication.vue 49:21-53
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/User/signin.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/SystemService in /root/.jenkins/workspace/Talc/src/views/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/User/signin.vue 31:21-53
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/User/signup.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/SystemService in /root/.jenkins/workspace/Talc/src/views/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/User/signup.vue 31:21-53
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/User/reset.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/SystemService in /root/.jenkins/workspace/Talc/src/views/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/User/reset.vue 19:21-53
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/Authentication.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/components/Public/StepBar in /root/.jenkins/workspace/Talc/src/components/User
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/User/Authentication.vue 41:15-50
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Algorithm/Applyforlaunched/audit.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/components/Public/StepBar in /root/.jenkins/workspace/Talc/src/components/Algorithm/Applyforlaunched
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Algorithm/Applyforlaunched/audit.vue 25:15-50
ERROR in ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Home/ProjectList.vue
Module not found: Error: Cannot resolve 'file' or 'directory' /root/.jenkins/workspace/Talc/src/services/ProjectService in /root/.jenkins/workspace/Talc/src/components/Home
@ ./~/babel-loader/lib!./~/eslint-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/Home/ProjectList.vue 19:22-55
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
Child extract-text-webpack-plugin:
load machine-config from decryptconf/machine/machine.ini
[114.55.85.254] Executing task 'nodejs.DTalc'