Hi,
I'm trying to build the Thor wallet on Archlinux:
[forth@mjolnir thor-sync.electron]$ uname -a
Linux mjolnir 4.18.7-arch1-1-ARCH #1 SMP PREEMPT Sun Sep 9 11:27:58 UTC 2018 x86_64 GNU/Linux
[forth@mjolnir thor-sync.electron]$ npm -v
6.4.1
[forth@mjolnir thor-sync.electron]$ node -v
v10.10.0
`
[forth@mjolnir thor-sync.electron]$ npm run build
[email protected] build /home/forth/AE/crypto/ven/thor-sync.electron
node .electron-vue/build.js && electron-builder
/_ \ __ /\ __ ____ /\ \ __ __ __ /_ \ /\ \
//\ \ / ,.\ \ \ ,_\ / ,__\ _______ \ \ \____ /\ \/\ \ /\_\ \//\ \ \_\ \ \_\ \_ /\ __/ \ \ \/ /\__,
/_\ \ \ ,. \ \ _\ \/\ \ _\ _ /\ ,. \
/_\ _\ \ \ _ /_/// \ _/ \ _/ \ \ \ /_\ _
// // \ _\ // // // // // / /
/__/
- building main process
✔ building main process
- building DApps process
- building renderer process
✔ building preload process
ERROR failed to build renderer process
Hash: a1564308bf2235d7b143
Version: webpack 3.12.0
Time: 10908ms
Asset Size Chunks Chunk Names
fonts/MaterialIcons-Regular--fonts.eot 143 kB
fonts/MaterialIcons-Regular--fonts.woff2 44.3 kB
fonts/MaterialIcons-Regular--fonts.woff 57.6 kB
fonts/MaterialIcons-Regular--fonts.ttf 128 kB
renderer.js 120 kB 0 renderer
styles.css 190 kB 0 renderer
[0] external "vue-property-decorator" 42 bytes {0} [not cacheable]
[1] ./node_modules/vue-loader/lib/component-normalizer.js 2.9 kB {0} [built]
[15] external "path" 42 bytes {0} [not cacheable]
[16] ./src/renderer/main.ts 622 bytes {0} [built]
[17] ./node_modules/vuetify/dist/vuetify.css 41 bytes {0} [built]
[18] ./node_modules/material-design-icons-iconfont/dist/material-design-icons.css 41 bytes {0} [built]
[19] ./src/renderer/window.init.ts 571 bytes {0} [built] [1 warning]
[20] external "vuetify" 42 bytes {0} [not cacheable]
[21] ./src/renderer/App.vue 1.32 kB {0} [built]
[22] ./node_modules/vue-style-loader!./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-0ee856ab","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/renderer/App.vue 683 bytes {0} [built]
[36] ./src/renderer/router.ts 426 bytes {0} [built]
[47] ./src/renderer/vuex/store.ts 252 bytes {0} [built] [1 warning]
[52] ./src/env.ts 634 bytes {0} [built]
[54] ./src/renderer/wallet.ts 3.35 kB {0} [built] [1 warning]
[62] ./node_modules/css-loader!./node_modules/material-design-icons-iconfont/dist/material-design-icons.css 1.02 kB [built]
+ 53 hidden modules
WARNING in ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/AppList.vue
15:65-73 "export 'portData' was not found in './ViewPort.vue'
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/AppList.vue
@ ./src/renderer/components/AppList.vue
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/App.vue
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
WARNING in ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/AppList.vue
15:93-101 "export 'portData' was not found in './ViewPort.vue'
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/AppList.vue
@ ./src/renderer/components/AppList.vue
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/App.vue
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
WARNING in ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/Confirms.vue
23:36-44 "export 'Deferred' was not found in '@/base/deferred'
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/Confirms.vue
@ ./src/renderer/components/Confirms.vue
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/App.vue
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
WARNING in ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/Confirms.vue
31:32-40 "export 'Deferred' was not found in '@/base/deferred'
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/Confirms.vue
@ ./src/renderer/components/Confirms.vue
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/App.vue
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
WARNING in ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/Confirms.vue
38:32-40 "export 'Deferred' was not found in '@/base/deferred'
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/Confirms.vue
@ ./src/renderer/components/Confirms.vue
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/App.vue
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
WARNING in ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/Confirms.vue
9:28-36 "export 'Deferred' was not found in '@/base/deferred'
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/components/Confirms.vue
@ ./src/renderer/components/Confirms.vue
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/App.vue
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
WARNING in ./src/renderer/window.init.ts
[1, 16]: require statement not part of an import statement
[15, 31]: non-arrow functions are forbidden
[18, 31]: non-arrow functions are forbidden
@ ./src/renderer/main.ts 3:0-23
WARNING in ./src/renderer/wallet.ts
[102, 21]: Calls to 'console.log' are not allowed.
[5, 23]: require statement not part of an import statement
[5, 7]: variable name must be in lowerCamelCase or UPPER_CASE
@ ./src/renderer/main.ts 10:0-30
WARNING in ./src/renderer/vuex/store.ts
[12, 3]: Expected property shorthand in object literal ('{actions}').
@ ./src/renderer/main.ts 8:0-42
WARNING in ./src/base/index.ts
[61, 9]: Shadowed name: 'fs'
[62, 16]: Shadowed name: 'folder'
[1, 14]: require statement not part of an import statement
[2, 12]: require statement not part of an import statement
[29, 25]: non-arrow functions are forbidden
[62, 25]: non-arrow functions are forbidden
[63, 29]: non-arrow functions are forbidden
[70, 27]: non-arrow functions are forbidden
[33, 9]: Identifier 'apps' is never reassigned; use 'const' instead of 'let'.
[72, 9]: Identifier 'thorBuffer' is never reassigned; use 'const' instead of 'let'.
[56, 16]: variable name must be in lowerCamelCase or UPPER_CASE
@ ./src/renderer/vuex/actions.ts 1:0-47
@ ./src/renderer/vuex/store.ts
@ ./src/renderer/main.ts
WARNING in ./src/renderer/vuex/actions.ts
[9, 13]: Expected property shorthand in object literal ('{name}').
@ ./src/renderer/vuex/store.ts 3:0-37
@ ./src/renderer/main.ts
ERROR in ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/App.vue
Module not found: Error: Can't resolve './components/tabBar.vue' in '/home/forth/AE/crypto/ven/thor-sync.electron/src/renderer'
@ ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/renderer/App.vue 5:0-45
@ ./src/renderer/App.vue
@ ./src/renderer/main.ts
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 568 kB 0
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.ejs 998 bytes {0} [built]
[1] ./node_modules/lodash/lodash.js 540 kB {0} [built]
[2] (webpack)/buildin/module.js 517 bytes {0} [built]
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js!node_modules/vuetify/dist/vuetify.css:
[0] ./node_modules/css-loader!./node_modules/vuetify/dist/vuetify.css 189 kB {0} [built]
[1] ./node_modules/css-loader/lib/css-base.js 2.26 kB {0} [built]
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js!node_modules/material-design-icons-iconfont/dist/material-design-icons.css:
Asset Size Chunks Chunk Names
fonts/MaterialIcons-Regular--fonts.eot 143 kB
fonts/MaterialIcons-Regular--fonts.woff2 44.3 kB
fonts/MaterialIcons-Regular--fonts.woff 57.6 kB
fonts/MaterialIcons-Regular--fonts.ttf 128 kB
[0] ./node_modules/css-loader!./node_modules/material-design-icons-iconfont/dist/material-design-icons.css 1.02 kB {0} [built]
[1] ./node_modules/css-loader/lib/url/escape.js 448 bytes {0} [built]
[2] ./node_modules/css-loader/lib/css-base.js 2.26 kB {0} [built]
[3] ./node_modules/material-design-icons-iconfont/dist/fonts/MaterialIcons-Regular.eot 84 bytes {0} [built]
[4] ./node_modules/material-design-icons-iconfont/dist/fonts/MaterialIcons-Regular.woff2 86 bytes {0} [built]
[5] ./node_modules/material-design-icons-iconfont/dist/fonts/MaterialIcons-Regular.woff 85 bytes {0} [built]
[6] ./node_modules/material-design-icons-iconfont/dist/fonts/MaterialIcons-Regular.ttf 84 bytes {0} [built]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: node .electron-vue/build.js && electron-builder
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/forth/.npm/_logs/2018-09-17T08_46_17_770Z-debug.log
`
[forth@mjolnir thor-sync.electron]$ cat /home/forth/.npm/_logs/2018-09-17T08_46_17_770Z-debug.log 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle [email protected]~prebuild: [email protected] 6 info lifecycle [email protected]~build: [email protected] 7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/forth/AE/crypto/ven/thor-sync.electron/node_modules/.bin:/home/forth/.local/bin:/home/forth/perl5/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/forth/go/bin:/home/forth/AE/VSCode-linux-x64:/home/forth/bin:/usr/lib/go-1.8/bin:/opt/go/bin:/home/forth/.local/bin:/home/forth/lgo/bin 9 verbose lifecycle [email protected]~build: CWD: /home/forth/AE/crypto/ven/thor-sync.electron 10 silly lifecycle [email protected]~build: Args: [ '-c', 'node .electron-vue/build.js && electron-builder' ] 11 silly lifecycle [email protected]~build: Returned: code: 1 signal: null 12 info lifecycle [email protected]~build: Failed to exec build script 13 verbose stack Error: [email protected] build:
node .electron-vue/build.js && electron-builder13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16) 13 verbose stack at EventEmitter.emit (events.js:182:13) 13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:182:13) 13 verbose stack at maybeClose (internal/child_process.js:962:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) 14 verbose pkgid [email protected] 15 verbose cwd /home/forth/AE/crypto/ven/thor-sync.electron 16 verbose Linux 4.18.7-arch1-1-ARCH 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build" 18 verbose node v10.10.0 19 verbose npm v6.4.1 20 error code ELIFECYCLE 21 error errno 1 22 error [email protected] build:
node .electron-vue/build.js && electron-builder`
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
`