Code Monkey home page Code Monkey logo

perl6-electron's People

Contributors

azawawi avatar hchienjo avatar samcv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

perl6-electron's Issues

Can't install on Ubuntu

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

Module fails to run due to use of @*INC within module

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

OSX Support?

Everything installs on OS X but can't run any examples, I get this error. Any ideas where to go from here?

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.