JumpFm / jumpfm

A file manager that lets you jump.
https://jumpfm.org
273 stars 32 forks source link

Error when clonong and with tsw, electron #20

Open franshesco opened 7 years ago

franshesco commented 7 years ago

hi,

I tried to clone the repo but I have the error about the public key as shown below: # git clone git@github.com:Gilad-Kutiel-App/jumpfm.git Cloning into 'jumpfm'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

I have cloned by using directly the link of the repo. Now when trying to install typescript and electron, J have the error below: `# npm i -g typescript electron /usr/bin/electron -> /usr/lib/node_modules/electron/cli.js /usr/bin/tsserver -> /usr/lib/node_modules/typescript/bin/tsserver /usr/bin/tsc -> /usr/lib/node_modules/typescript/bin/tsc

electron@1.7.9 postinstall /usr/lib/node_modules/electron node install.js

/usr/lib/node_modules/electron/install.js:48 throw err ^

Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/electron/.electron' npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! electron@1.7.9 postinstall: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the electron@1.7.9 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! /root/.npm/_logs/2017-10-13T17_07_08_394Z-debug.log `

I tried a separated installation of each tool and I have warning messages for electron: `# npm install electron --save-dev --save-exact

electron@1.7.9 postinstall /home/admin/Desktop/node_modules/electron node install.js

npm WARN saveError ENOENT: no such file or directory, open '/home/admin/Desktop/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/admin/Desktop/package.json' npm WARN Desktop No description npm WARN Desktop No repository field. npm WARN Desktop No README data npm WARN Desktop No license field.

Now saas and electron are not recognized when I try it on each terminal.

thx