azawawi / perl6-electron Goto Github PK
View Code? Open in Web Editor NEWWrite cross-platform Perl 6 desktop Electron applications using JavaScript, HTML and CSS
License: MIT License
Write cross-platform Perl 6 desktop Electron applications using JavaScript, HTML and CSS
License: MIT License
I can't install the module since tests fail. My system is Ubuntu 16.04 with node 7.4.0 from official node PPA. electron is v1.4.14.
Also, I had to add "use LWP::Simple;" in Electron::App.pm since otherwise I received error that &Simple was unkown.
t/02-clipboard.t ......1/6App threw an error during load Error: Cannot find module 'app' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/usr/lib/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (/home/ec/.zef/store/perl6-electron.git/1d21370692c902a15a11bef703e59d9d7dd36468/resources/main_app/main.js:2:21) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) A JavaScript error occurred in the main process Uncaught Exception: Error: Cannot find module 'app' at Module._resolveFilename (module.js:455:15) at Function.Module._resolveFilename (/usr/lib/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (/home/ec/.zef/store/perl6-electron.git/1d21370692c902a15a11bef703e59d9d7dd36468/resources/main_app/main.js:2:21) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) # Destroy electron app Failed to connect: connection refused in method make_request at /home/ec/.zef/store/perl6-lwp-simple.git/01b3edfeb4027ecc51d549356449c68620845dbd/lib/LWP/Simple.pm (LWP::Simple) line 231 in method request_shell at /home/ec/.zef/store/perl6-lwp-simple.git/01b3edfeb4027ecc51d549356449c68620845dbd/lib/LWP/Simple.pm (LWP::Simple) line 81 in method post at /home/ec/.zef/store/perl6-lwp-simple.git/01b3edfeb4027ecc51d549356449c68620845dbd/lib/LWP/Simple.pm (LWP::Simple) line 39 in sub at /home/ec/.zef/store/perl6-electron.git/1d21370692c902a15a11bef703e59d9d7dd36468/lib/Electron/App.pm6 (Electron::App) line 69 in method handler at /home/ec/.zef/store/jsonrpc.git/1fcb7aa46fe6f0077114a012add8088430160e8c/lib/JSON/RPC/Client.pm (JSON::RPC::Client) line 128 in method at /home/ec/.zef/store/jsonrpc.git/1fcb7aa46fe6f0077114a012add8088430160e8c/lib/JSON/RPC/Client.pm (JSON::RPC::Client) line 44 in method destroy at /home/ec/.zef/store/perl6-electron.git/1d21370692c902a15a11bef703e59d9d7dd36468/lib/Electron/App.pm6 (Electron::App) line 97 in block at t/02-clipboard.t line 30
Successfully installed electron and included into script. Attempted to run perl6-electron/examples/bailador.p6
and received the following error:
Dynamic variable @*INC not found
in submethod initialize at C:\rakudo\share\perl6\site\sources\42D84B59BC3C5A414EA59CC2E3BC466BBAF78CDA line 54
in method instance at C:\rakudo\share\perl6\site\sources\42D84B59BC3C5A414EA59CC2E3BC466BBAF78CDA line 33
in block <unit> at test.p6 line 9
Actually thrown at:
in method throw at C:\rakudo/share/perl6/runtime/CORE.setting.moarvm line 1
in block at C:\rakudo\share\perl6\site\sources\42D84B59BC3C5A414EA59CC2E3BC466BBAF78CDA line 55
in submethod initialize at C:\rakudo\share\perl6\site\sources\42D84B59BC3C5A414EA59CC2E3BC466BBAF78CDA line 48
in method instance at C:\rakudo\share\perl6\site\sources\42D84B59BC3C5A414EA59CC2E3BC466BBAF78CDA line 33
in block <unit> at test.p6 line 9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.