RODAR REMIX IDE NO KALI LINUX

API

Python

C

NPM

C++

22/06/2019

Se alguém tiver alguma ideia de como fazer isso sem a dor de cabeça que estou passando vou dever minha alma pela resposta!
Já executei os comandos básicos para rodar a IDE remix offline, já que tentei abrir online no browser FirefoxESR e não tive sucesso (abre uma página em branco).
O procedimento que fiz foi este abaixo:

# git clone https://github.com/ethereum/remix-ide.git
# git clone https://github.com/ethereum/remix.git

# cd remix
# npm install
# npm run bootstrap

# cd remix-ide
# npm install
# npm run setupremix
# npm start

Após o comando 'npm start' abri o localhost na porta 65520, conforme orientado pela resposta do terminal, porém, o resultado foi o mesmo de como se eu tivesse tentado abrir a IDE online, abaixo o erro:

[serve ] [Fri Jun 21 2019 23:21:29 GMT-0300 (GMT-03:00)] "GET /build/app.js" "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
[serve ] [Fri Jun 21 2019 23:21:29 GMT-0300 (GMT-03:00)] "GET /build/app.js" Error (404): "Not found"
[serve ] [Fri Jun 21 2019 23:21:29 GMT-0300 (GMT-03:00)] "GET /favicon.ico" "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
[serve ] [Fri Jun 21 2019 23:21:29 GMT-0300 (GMT-03:00)] "GET /favicon.ico" Error (404): "Not found"
[serve ] [Fri Jun 21 2019 23:21:29 GMT-0300 (GMT-03:00)] "GET /favicon.ico" "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"

<> Já tentei usar os comandos
# npm install remix-ide -g
# remix-ide
Nesse caso ele dá erro já no 'npm install remix-ide -g', segue o erro abaixo:

gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/remix-ide/node_modules/scrypt/build'
gyp ERR! System Linux 4.19.0-kali5-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/remix-ide/node_modules/scrypt
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/remix-ide/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt@6.0.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt@6.0.3 install 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/2019-06-22T03_37_58_048Z-debug.log
Vinicius

Vinicius

Curtidas 0
POSTAR