Git Product home page Git Product logo

Comments (16)

tcoulter avatar tcoulter commented on August 15, 2024

Hmm, this shouldn't be an issue as merkle-patricia-tree (the dependency that requires memdown) has been a dependency from the start. Can you simply run npm install -g ethereumjs-testrpc again? I've been running into this a lot lately where npm skips over some dependencies, which are fixed with rerun.

For my purposes, which version of Node are you using?

from ganache-cli-archive.

tcoulter avatar tcoulter commented on August 15, 2024

Also, running sudo vs. non-sudo can cause interesting results. I'd recommend not using sudo if you can, but that's mostly me repeating what I've heard from others.

from ganache-cli-archive.

mowliv avatar mowliv commented on August 15, 2024

Thanks for the speedy response!

Tried running that again w/o sudo (failed) and with sudo -- but didn't resolve problem.

node 5.10.0
ubuntu 14.04 LTS
virtualbox 5.0.16 on a Mac

mowliv@u4:~$ sudo npm install -g ethereumjs-testrpc
[sudo] password for mowliv: 
/usr/bin/testrpc -> /usr/lib/node_modules/ethereumjs-testrpc/bin/testrpc
/usr/lib
└─┬ [email protected] 
  ├─┬ [email protected]
  │ └── [email protected]  (git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2)
  └─┬ [email protected]
    └─┬ [email protected] 
      ├── [email protected] 
      └── [email protected] 

from ganache-cli-archive.

tcoulter avatar tcoulter commented on August 15, 2024

That's super odd. I'll have to fire up an ubuntu VM and try it out myself.

from ganache-cli-archive.

tcoulter avatar tcoulter commented on August 15, 2024

Hmm, I was about to point you to your own ticket (#57) until I realized you were the author. Ugh, sorry about the installation issues.

from ganache-cli-archive.

mowliv avatar mowliv commented on August 15, 2024

Thanks. That's pretty funny :)

from ganache-cli-archive.

IamSandipC avatar IamSandipC commented on August 15, 2024

any update? facing same issue

from ganache-cli-archive.

tcoulter avatar tcoulter commented on August 15, 2024

Unfortunately I haven't found anyone who's fixed this issue. Odd request: Could you downgrade your node version to 5.5? I'm not sure if it'll help, but I know there was another person who had an issue that was solved via a downgrade from 5.10. I'm not sure if this will be the solution, but I'd be interested to know if it is.

from ganache-cli-archive.

IamSandipC avatar IamSandipC commented on August 15, 2024

No luck with node 5.5 even... :(

from ganache-cli-archive.

tomsib2001 avatar tomsib2001 commented on August 15, 2024

Same problem here, node 4.4.3, npm 2.15.1, Ubuntu 14.04
Solved it using moscajs/mosca#413

from ganache-cli-archive.

fortran01 avatar fortran01 commented on August 15, 2024

This one worked for me http://stackoverflow.com/a/31861021/422842. See the npm cache clear comment.

from ganache-cli-archive.

ntarora avatar ntarora commented on August 15, 2024

cd /usr/local/lib/node_modules/ethereumjs-testrpc/
npm test this will probably fail
while still in the directory sudo npm install

run testrpc

if memdown still persist sudo npm install memdown while in the etheruemjs-testrpc directory

then run testrpc again should work

from ganache-cli-archive.

hasanqusay avatar hasanqusay commented on August 15, 2024

I did what you said and this is what I got :((((

http://imgur.com/a/wAv0u

from ganache-cli-archive.

muguruza avatar muguruza commented on August 15, 2024

Same problem here: node v0.10.25, npm 1.3.10, Ubuntu 14.04

Unsuccessfully tried

cd /usr/local/lib/node_modules/ethereumjs-testrpc/
npm test this will probably fail
while still in the directory sudo npm install

run testrpc

if memdown still persist sudo npm install memdown while in the etheruemjs-testrpc directory

then run testrpc again should work

and also

This one worked for me http://stackoverflow.com/a/31861021/422842. See the npm cache clear comment.

from ganache-cli-archive.

fractalDimension avatar fractalDimension commented on August 15, 2024

Ok I tried everything in this thread and also some other random fixes from elsewhere so I can't be certain why mine is working now but here's some things to try:

  • install memdown globally (last thing I did before it started to work)
    • npm install -g memdown
  • go into testrpc's node_modules folder and run npm install from within the merkle-patricia-tree folder
    • cd /usr/local/lib/node_modules/ethereumjs-testrpc/node_modules/merkle-patricia-tree/
    • npm install

Keep trying things because you can get it to work!

from ganache-cli-archive.

tcoulter avatar tcoulter commented on August 15, 2024

Thanks for everyone's input on this ticket. I'm doing housekeeping on open issues, and have realized that installation issues are best handled via a conversation on gitter, since everyone's configuration is different. I'm going to close this ticket, but definitely follow up in the ethereumjs's gitter if you're still having issues! http://gitter.im/ethereum/ethereumjs-lib

from ganache-cli-archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.