Comments (4)
Hi. Sorry for the late response. I've been a bit busy with preparing the opensource build, so the software I've moved those components to separate modules and am currently fixing the last bugs in this branch(https://github.com/vialer/vialer-js/tree/feature/restructure-module-loading). Vialer-js is normally build for Electron like:
# generate an unpackaged build
gulp build --brand vialer --target electron
electron build/vialer/electron/main.js
# or build an electron package; this seems broken atm
gulp build-dist --brand vialer --target electron
from vialer-js.
With the current develop branch, you should be able to run an Electron build with:
gulp build-run --target electron
Package a build like:
gulp build-dist --target electron
Hope this helps.
from vialer-js.
Is there a install guide? gulp build-run --target electron
isn't working on Linux anyway.
Thanks.
from vialer-js.
/home-storage/ghenry/src/vialer-js [develop*]$ gulp build-run --target electron
[10:36:28] BUILD FLAGS:
[10:36:28] - BRAND: bologna
[10:36:28] - DEPLOY: alpha
[10:36:28] - PRODUCTION: false
[10:36:28] - TARGET: electron
[10:36:28] - VERBOSE: false
[10:36:28] - LIVERELOAD: false
[10:36:28] Using gulpfile /home-storage/ghenry/src/vialer-js/gulpfile.js
[10:36:28] Starting 'build-run'...
[10:36:30] { Error: Command failed: gulp build --target electron --brand bologna;./node_modules/electron/dist/electron --js-flags='--harmony-async-await' ./build/bologna/electron/main.js
[10:36:30] 'templates' errored after 193 μs
[10:36:30] TypeError: Cannot read property 'bologna' of undefined
at Gulp.gulp.task (/home-storage/ghenry/src/vialer-js/gulpfile.js:371:36)
at module.exports (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:134:8)
at runNextSet (/home-storage/ghenry/src/vialer-js/node_modules/run-sequence/index.js:86:16)
at runSequence (/home-storage/ghenry/src/vialer-js/node_modules/run-sequence/index.js:97:2)
at Gulp.gulp.task (/home-storage/ghenry/src/vialer-js/gulpfile.js:80:9)
at module.exports (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:273:3)
[10:36:30] 'scss-app' errored after 173 μs
[10:36:30] TypeError: Cannot read property 'bologna' of undefined
at Gulp.gulp.task (/home-storage/ghenry/src/vialer-js/gulpfile.js:316:36)
at module.exports (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:134:8)
at runNextSet (/home-storage/ghenry/src/vialer-js/node_modules/run-sequence/index.js:86:16)
at runSequence (/home-storage/ghenry/src/vialer-js/node_modules/run-sequence/index.js:97:2)
at Gulp.gulp.task (/home-storage/ghenry/src/vialer-js/gulpfile.js:307:5)
at module.exports (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:273:3)
[10:36:30] 'scss-observer' errored after 159 μs
[10:36:30] TypeError: Cannot read property 'bologna' of undefined
at Helpers.scssEntry (/home-storage/ghenry/src/vialer-js/tools/helpers.js:423:69)
at Gulp.gulp.task (/home-storage/ghenry/src/vialer-js/gulpfile.js:339:20)
at module.exports (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:214:10)
at /home-storage/ghenry/src/vialer-js/node_modules/orchestrator/index.js:279:18
at finish (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/lib/runTask.js:21:8)
at cb (/home-storage/ghenry/src/vialer-js/node_modules/orchestrator/lib/runTask.js:29:3)
at runSequence (/home-storage/ghenry/src/vialer-js/gulpfile.js:309:9)
at finish (/home-storage/ghenry/src/vialer-js/node_modules/run-sequence/index.js:60:5)
Error: unrecognized flag --harmony-async-await
Try --help for options
Error launching app
Unable to find Electron app at /home-storage/ghenry/src/vialer-js/build/bologna/electron/main.js
Cannot find module '/home-storage/ghenry/src/vialer-js/build/bologna/electron/main.js'
at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)
killed: false,
code: 1,
signal: null,
cmd: 'gulp build --target electron --brand bologna;./node_modules/electron/dist/electron --js-flags=\'--harmony-async-await\' ./build/bologna/electron/main.js' }
from vialer-js.
Related Issues (20)
- VIALJS-98 <metrics> Add remote logging.
- typo: "data-orientated design" -> oriented HOT 2
- How to get user credentials to use the extension ? HOT 2
- AbortError: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22 HOT 1
- Caller name does not update after a transfer HOT 1
- Reinvite of the same call is not properly handled HOT 1
- Could not start audio source
- Caller-Id wrong information. HOT 2
- TypeError: Cannot read property 'scheme' of undefined
- Failed status transition - attempted to disconnect a socket that was not open
- 2FA field validation is failing
- Hangup and call ended tone both ring at the same time on transfer
- Install guide? HOT 1
- The Caller doesn't receive endcall response from the callee due to 480 Temp Unavailable is sent by the callee HOT 7
- Add auto-answer to plugin
- Porting Vialer-js webview on Mobile application HOT 4
- WebExtension bg persistence Manifest v3
- https://vialer-js.io docker in not working
- Reply field in GMail gets b0rked when plugin is activated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vialer-js.