sarthology / programcli Goto Github PK
View Code? Open in Web Editor NEW๐ฆ Self-hosted Instagram Style gallery for all your photos
Home Page: https://sarthology.github.io/proGramCLI/
License: MIT License
๐ฆ Self-hosted Instagram Style gallery for all your photos
Home Page: https://sarthology.github.io/proGramCLI/
License: MIT License
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]dev: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]dev: unsafe-perm in lifecycle truedev: 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
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]dev: CWD: /var/www/mysitedev: Args: [ '-c', 'electron main/main.js --not-packaged=true --debug=true' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]dev: Returned: code: 1 signal: nulldev: Failed to exec dev script
12 info lifecycle [email protected]
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?
Hi, someone knows how to deploy it with docker?
docker-compose.yml??
thanks in advance,
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
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
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.