Comments (16)
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.
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.
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.
That's super odd. I'll have to fire up an ubuntu VM and try it out myself.
from ganache-cli-archive.
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.
Thanks. That's pretty funny :)
from ganache-cli-archive.
any update? facing same issue
from ganache-cli-archive.
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.
No luck with node 5.5 even... :(
from ganache-cli-archive.
Same problem here, node 4.4.3, npm 2.15.1, Ubuntu 14.04
Solved it using moscajs/mosca#413
from ganache-cli-archive.
This one worked for me http://stackoverflow.com/a/31861021/422842. See the npm cache clear
comment.
from ganache-cli-archive.
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.
I did what you said and this is what I got :((((
from ganache-cli-archive.
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 installrun 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.
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.
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)
- ganache-cli not getting installed on Ubuntu HOT 2
- Error installing ganache-cli following Azure blockchain HelloWorld example HOT 3
- Unable to reach ganache-cli in a docker container from docker compose HOT 13
- eth_getTransactionCount returns an incorrect value HOT 2
- scrypt optional dependency HOT 1
- Ganache and BuilderEVM use different gas HOT 1
- How can I determine right ganache instance? HOT 2
- Extra bytes returned on revert("") HOT 2
- How to listen to existing Ganache instance in another Terminal tab or window? HOT 4
- How to retrieve transaction logs? HOT 4
- Ganache-cli Fork hang on net_version HOT 3
- Ganache-cli Fork will not last. Subsequent transactions fail with nonce error and / or out of gas error HOT 2
- Error: VM Exception while processing migration transaction: invalid opcode when testing on different machines HOT 3
- ganache-cli failing on estimateGas
- Error running -h "0.0.0.0" HOT 7
- How to use ganache-cli to fork the block specified by the bsc main network? HOT 2
- Ganache Crashes on estimateGas HOT 1
- can solidity have console.log()? HOT 2
- security vulnerabilities HOT 1
- [Errno 2] No such file or directory: 'ganache-cli'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ganache-cli-archive.