Giter Club home page Giter Club logo

programcli's People

Contributors

ikuchikibyakuya avatar pavanjadhaw avatar sarthology 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar

programcli's Issues

install on ubuntu 16 using npm

I managed to install electronjs on ubuntu 16 using npm.

I am trying to run proGramCli from github, which has clear and simple instructions:

$ git clone https://github.com/sarthology/proGramCLI.git
$ cd proGramCLI
$ npm install
$ npm link
To run it, should be either npm run dev or simply type program

When I do it, I am getting this error:

root@vps47638175:/var/www/mysite# npm start

[email protected] start /var/www/mysite
electron main/main.js --not-packaged=true

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: electron main/main.js --not-packaged=true
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start 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! /root/.npm/_logs/2020-01-22T10_38_41_017Z-debug.log
root@vps47638175:/var/www/mysite# npm run dev

root@vps47638175:/var/www/mysite# cat /root/.npm/_logs/2020-01-22T10_38_44_652Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]predev: [email protected]
6 info lifecycle [email protected]
dev: [email protected]
7 verbose lifecycle [email protected]dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
dev: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/www/mysite/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
9 verbose lifecycle [email protected]dev: CWD: /var/www/mysite
10 silly lifecycle [email protected]
dev: Args: [ '-c', 'electron main/main.js --not-packaged=true --debug=true' ]
11 silly lifecycle [email protected]dev: Returned: code: 1 signal: null
12 info lifecycle [email protected]
dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: electron main/main.js --not-packaged=true --debug=true
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:321:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:321:20)
13 verbose stack at maybeClose (internal/child_process.js:1028:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid [email protected]
15 verbose cwd /var/www/mysite
16 verbose Linux 4.4.0
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"
18 verbose node v13.6.0
19 verbose npm v6.13.4
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: electron main/main.js --not-packaged=true --debug=true
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Can you provide some help here?

docker deploy version?

Hi, someone knows how to deploy it with docker?
docker-compose.yml??

thanks in advance,

Nothing happens...

Installed and ran program. A box appeared with a dinosaur and a button 'Let's get started'. When pressed I believe it wants a folder as I cannot select a file, but once selected it just goes back to the let's get started screen.

Console shows no messages.

Also, description states 'self-hosted' but this appears to be an electron app. Any way to run this in the browser?

Arch Linux

Error when trying to install via npm

I am trying to install programcli via npm using:

$ sudo npm install -g programcli

Here is the output I get:

/home/jerpint/.npm-global/bin/program -> /home/jerpint/.npm-global/lib/node_modules/programcli/bin/cli.js

> [email protected] postinstall /home/jerpint/.npm-global/lib/node_modules/programcli/node_modules/electron
> node install.js

/home/jerpint/.npm-global/lib/node_modules/programcli/node_modules/electron/install.js:49
  throw err
  ^

[Error: EACCES: permission denied, mkdir '/home/jerpint/.npm-global/lib/node_modules/programcli/node_modules/electron/.electron'] {
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/home/jerpint/.npm-global/lib/node_modules/programcli/node_modules/electron/.electron'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall 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/jerpint/.npm/_logs/2020-01-03T16_14_10_529Z-debug.log

I've tried the steps recommended here with no success:

https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally

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.