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

Invalid JSON RPC response: undefined #317

Closed
Ashwin-Kapes opened this issue Dec 3, 2017 · 10 comments
Closed

Invalid JSON RPC response: undefined #317

Ashwin-Kapes opened this issue Dec 3, 2017 · 10 comments

Comments

@Ashwin-Kapes
Copy link

Every time I try to run a function on embark dashboard I'm getting an error:
"Error: Invalid JSON RPC response: undefined"
PS: Someone told me to install testRPC 3.0 but don't know how to install it.

delete_embark

@kaizenlabs
Copy link

+1

@kaizenlabs
Copy link

Can someone help with this, simulator is running in the background and then anytime I call my contract methods in the Embark console, I get Error: Invalid JSON RPC response: undefined

@iurimatias
Copy link
Collaborator

try npm -g install ethereumjs-testrpc@3.0, followed by embark simulator then re-run embark run; it should say TestRPC 3.0 on the dashboard" (screenshot says 2.0)

@kaizenlabs
Copy link

I already tried that, version 3 of testrpc errors when building, running version 6 which is the latest. Embark doesn't work with the latest build tools?

@iurimatias
Copy link
Collaborator

@Ashwin-Kapes @JohnAntonusMaximus ok at first this looked like an outdated version but seems to be a bug in the 2.6.0.. a fix will be released in 2.6.1 @JohnAntonusMaximus it doesn't matter the version it should work with all the latest geth nodes & simulators. this is a bug specific to the console, thanks for reporting it :)

@kaizenlabs
Copy link

Awesome, my pleasure. I like this framework much better than Truffle, if it works as expected going to stick to it. Can be of more help as I get familiar with it. My first time firing it up and I couldn't figure out what the issue was, all the RPC ports are mapped correctly in the config.json files.

@iurimatias
Copy link
Collaborator

@Ashwin-Kapes @JohnAntonusMaximus This has now been fixed in Embark 2.6.1 ; Again, thanks for reporting it.

@JohnAntonusMaximus Thanks! It's about to get a major revamp, so any feedback/wishlist is appreciated.

@forrestwilkins
Copy link

Hi, I'm still getting this error was well. Should this still be happening?
screen shot 2018-06-25 at 8 32 13 pm

@forrestwilkins
Copy link

@iurimatias
Copy link
Collaborator

@EthanWilkins Embark uses web3.js 1.0 , it should be MDBAccount.methods.post("Hello World").send() and MDBService.methods.register().send({gas:900000})

mannyluvstacos added a commit to mannyluvstacos/embark that referenced this issue Jan 13, 2022
A Security Vuln was identified in the Colors package for >1.4.0, offending packages being `1.4.1`, `1.4.44-liberty`
- [source1](https://twitter.com/snyksec/status/1480286811482206216?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet)
- [source2](https://twitter.com/snyksec/status/1480286811482206216?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Etweet)
- [source3](https://security.snyk.io/vuln/SNYK-JS-COLORS-2331906)

This PR updates the color package to using [@dabh/colors](https://www.npmjs.com/package/@dabh/colors) as stated on this [colors issue embarklabs#317](Marak/colors.js#317 (comment)) which is a safe alternative.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants