jumpfm icon indicating copy to clipboard operation
jumpfm copied to clipboard

Error when clonong and with tsw, electron

Open franshesco opened this issue 7 years ago • 0 comments

hi,

I tried to clone the repo but I have the error about the public key as shown below: # git clone [email protected]: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

[email protected] 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! [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! /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

[email protected] 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

franshesco avatar Oct 13 '17 17:10 franshesco