Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install remix-ide using npm install #92

Closed
ottpeter opened this issue Feb 24, 2020 · 5 comments
Closed

Can't install remix-ide using npm install #92

ottpeter opened this issue Feb 24, 2020 · 5 comments

Comments

@ottpeter
Copy link

node -v: v10.16.0
This is the error I get:

ERROR: "build" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: `mkdirp build; npm-run-all -ls downloadsolc_root build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] prepublish 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/user/.npm/_logs/2020-02-24T10_31_22_630Z-debug.log

@yann300
Copy link
Contributor

yann300 commented Feb 25, 2020

could you run it in verbose mode?
In the meantime, please have a look to https://github.com/ethereum/remix-desktop/releases

@ottpeter
Copy link
Author

ottpeter commented Feb 26, 2020

...

  100% 1.62M=20s
[downloadsolc_root] 
[downloadsolc_root] 2020-02-26 15:17:26 (619 KB/s) - ‘soljson.js’ saved [12849836/12849836]
[downloadsolc_root] 
[downloadsolc_root] npm verb lifecycle [email protected]~downloadsolc_root: unsafe-perm in lifecycle true
[downloadsolc_root] npm verb lifecycle [email protected]~downloadsolc_root: PATH: /home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/user/Remix/node_modules/.bin:/home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/user/Remix/node_modules/.bin:/home/user/.nvm/versions/node/v10.16.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[downloadsolc_root] npm verb lifecycle [email protected]~downloadsolc_root: CWD: /home/user/Remix
[downloadsolc_root] npm info lifecycle [email protected]~postdownloadsolc_root: [email protected]
[downloadsolc_root] npm verb exit [ 0, true ]
[downloadsolc_root] npm timing npm Completed in 21968ms
[downloadsolc_root] npm info ok 
[build            ] npm info it worked if it ends with ok
[build            ] npm verb cli [ '/home/user/.nvm/versions/node/v10.16.0/bin/node',
[build            ] npm verb cli   '/home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/bin/npm-cli.js',
[build            ] npm verb cli   'run',
[build            ] npm verb cli   'build' ]
[build            ] npm info using [email protected]
[build            ] npm info using [email protected]
[build            ] npm verb run-script [ 'prebuild', 'build', 'postbuild' ]
[build            ] npm info lifecycle [email protected]~prebuild: [email protected]
[build            ] npm info lifecycle [email protected]~build: [email protected]
[build            ] 
[build            ] > [email protected] build /home/user/Remix
[build            ] > browserify src/index.js -o build/app.js --exclude solc
[build            ] 
[build            ] Error: Cannot find module '/home/user/Remix/src/index.js' from '/home/user/Remix'
[build            ]     at /home/user/Remix/node_modules/browser-resolve/node_modules/resolve/lib/async.js:55:21
[build            ]     at load (/home/user/Remix/node_modules/browser-resolve/node_modules/resolve/lib/async.js:69:43)
[build            ]     at onex (/home/user/Remix/node_modules/browser-resolve/node_modules/resolve/lib/async.js:92:31)
[build            ]     at /home/user/Remix/node_modules/browser-resolve/node_modules/resolve/lib/async.js:22:47
[build            ]     at FSReqWrap.oncomplete (fs.js:153:21)
[build            ] npm verb lifecycle [email protected]~build: unsafe-perm in lifecycle true
[build            ] npm verb lifecycle [email protected]~build: PATH: /home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/user/Remix/node_modules/.bin:/home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/user/Remix/node_modules/.bin:/home/user/.nvm/versions/node/v10.16.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[build            ] npm verb lifecycle [email protected]~build: CWD: /home/user/Remix
[build            ] npm info lifecycle [email protected]~build: Failed to exec build script
[build            ] npm verb stack Error: [email protected] build: `browserify src/index.js -o build/app.js --exclude solc`
[build            ] npm verb stack Exit status 1
[build            ] npm verb stack     at EventEmitter.<anonymous> (/home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
[build            ] npm verb stack     at EventEmitter.emit (events.js:198:13)
[build            ] npm verb stack     at ChildProcess.<anonymous> (/home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
[build            ] npm verb stack     at ChildProcess.emit (events.js:198:13)
[build            ] npm verb stack     at maybeClose (internal/child_process.js:982:16)
[build            ] npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[build            ] npm verb pkgid [email protected]
[build            ] npm verb cwd /home/user/Remix
[build            ] npm verb Linux 4.19.94-1.pvops.qubes.x86_64
[build            ] npm verb argv "/home/user/.nvm/versions/node/v10.16.0/bin/node" "/home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/bin/npm-cli.js" "run" "build"
[build            ] npm verb node v10.16.0
[build            ] npm verb npm  v6.9.0
[build            ] npm ERR! code ELIFECYCLE
[build            ] npm ERR! errno 1
[build            ] npm ERR! [email protected] build: `browserify src/index.js -o build/app.js --exclude solc`
[build            ] npm ERR! Exit status 1
[build            ] npm ERR! 
[build            ] npm ERR! Failed at the [email protected] build script.
[build            ] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[build            ] npm verb exit [ 1, true ]
[build            ] npm timing npm Completed in 427ms
[build            ] 
[build            ] npm ERR! A complete log of this run can be found in:
[build            ] npm ERR!     /home/user/.npm/_logs/2020-02-26T14_17_27_374Z-debug.log
ERROR: "build" exited with 1.
npm verb lifecycle [email protected]~prepublish: unsafe-perm in lifecycle true
npm verb lifecycle [email protected]~prepublish: PATH: /home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/user/Remix/node_modules/.bin:/home/user/.nvm/versions/node/v10.16.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
npm verb lifecycle [email protected]~prepublish: CWD: /home/user/Remix
npm timing audit submit Completed in 1842ms
npm http fetch POST 200 http://registry.npmjs.org/-/npm/v1/security/audits/quick 1921ms
npm timing audit body Completed in 81ms
npm info lifecycle [email protected]~prepublish: Failed to exec prepublish script
npm verb stack Error: [email protected] prepublish: `mkdirp build; npm-run-all -ls downloadsolc_root build`
npm verb stack Exit status 1
npm verb stack     at EventEmitter.<anonymous> (/home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
npm verb stack     at EventEmitter.emit (events.js:198:13)
npm verb stack     at ChildProcess.<anonymous> (/home/user/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
npm verb stack     at ChildProcess.emit (events.js:198:13)
npm verb stack     at maybeClose (internal/child_process.js:982:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
npm verb pkgid [email protected]
npm verb cwd /home/user/Remix
npm verb Linux 4.19.94-1.pvops.qubes.x86_64
npm verb argv "/home/user/.nvm/versions/node/v10.16.0/bin/node" "/home/user/.nvm/versions/node/v10.16.0/bin/npm" "install" "--verbose"
npm verb node v10.16.0
npm verb npm  v6.9.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: `mkdirp build; npm-run-all -ls downloadsolc_root build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 31802ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2020-02-26T14_17_27_410Z-debug.log

@LianaHus
Copy link
Collaborator

@yann300

@LianaHus LianaHus transferred this issue from ethereum/remix-ide Jul 27, 2020
@yann300
Copy link
Contributor

yann300 commented Jul 27, 2020

if npm install works now, I think we can close this issue.
@ottpeter did you solve that issue ? error: Cannot find module '/home/user/Remix/src/index.js' from '/home/user/Remix' ?

@LianaHus
Copy link
Collaborator

ok. closing. please reopen if you still have problems

bunsenstraat added a commit that referenced this issue Oct 20, 2023
# This is the 1st commit message:

uml

# This is the commit message #2:

setvalue fix

# This is the commit message #3:

fix unit test

# This is the commit message #4:

special functions

# This is the commit message #5:

fix value

# This is the commit message #6:

lint

# This is the commit message #7:

statuc

# This is the commit message #8:

api  test

# This is the commit message #9:

port

# This is the commit message #10:

etherscan

# This is the commit message #11:

rm fc

# This is the commit message #12:

tooltip

# This is the commit message #13:

lock

# This is the commit message #14:

screenshots

# This is the commit message #15:

pause test

# This is the commit message #16:

getbrowser

# This is the commit message #17:

logs

# This is the commit message #18:

log env

# This is the commit message #19:

logs

# This is the commit message #20:

test

# This is the commit message #21:

nx url

# This is the commit message #22:

127.0.0.1

# This is the commit message #23:

rm log

# This is the commit message #24:

etherscan

# This is the commit message #25:

.frameParent()

# This is the commit message #26:

retry

# This is the commit message #27:

set flaky

# This is the commit message #28:

flaky

# This is the commit message #29:

logs

# This is the commit message #30:

launch

# This is the commit message #31:

more logs

# This is the commit message #32:

etherscan

# This is the commit message #33:

rm flaky

# This is the commit message #34:

hardhat

# This is the commit message #35:

hardhat

# This is the commit message #36:

hardhat

# This is the commit message #37:

hardhat

# This is the commit message #38:

term

# This is the commit message #39:

screeenshots

# This is the commit message #40:

pause

# This is the commit message #41:

look for gas

# This is the commit message #42:

fix test

# This is the commit message #43:

load compiler

# This is the commit message #44:

force compile

# This is the commit message #45:

logs

# This is the commit message #46:

imeout

# This is the commit message #47:

add pause

# This is the commit message #48:

change contract

# This is the commit message #49:

pause

# This is the commit message #50:

rm extra compile

# This is the commit message #51:

20

# This is the commit message #52:

compile again

# This is the commit message #53:

logs

# This is the commit message #54:

revert

# This is the commit message #55:

rm screens

# This is the commit message #56:

rm logs

# This is the commit message #57:

flaky off

# This is the commit message #58:

resize

# This is the commit message #59:

zoom test

# This is the commit message #60:

flaky

# This is the commit message #61:

test

# This is the commit message #62:

nx_npm

# This is the commit message #63:

flaky

# This is the commit message #64:

log more

# This is the commit message #65:

group it

# This is the commit message #66:

storage

# This is the commit message #67:

some logs

# This is the commit message #68:

look at solidity

# This is the commit message #69:

autocompile

# This is the commit message #70:

test the tooltips off

# This is the commit message #71:

click compile

# This is the commit message #72:

logs

# This is the commit message #73:

show the logs

# This is the commit message #74:

await

# This is the commit message #75:

string the errors

# This is the commit message #76:

log all

# This is the commit message #77:

more log

# This is the commit message #78:

more logs

# This is the commit message #79:

more logs

# This is the commit message #80:

log error

# This is the commit message #81:

log more

# This is the commit message #82:

log more

# This is the commit message #83:

fix timestamp

# This is the commit message #84:

logging

# This is the commit message #85:

dont set null

# This is the commit message #86:

smaller than

# This is the commit message #87:

logs

# This is the commit message #88:

hover test

# This is the commit message #89:

flaky terminal

# This is the commit message #90:

terminal

# This is the commit message #91:

merge group

# This is the commit message #92:

config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants