Comments (5)
I've got this problem too. I'm using Vagrant to set up a VM to run this stuff. See: https://gist.github.com/tom-seddon/407df5a095043a954448 (for OS X - tweak the vb.cpus setting if running on Linux/Windows)
You can reproduce it by setting up the above VM then doing something like:
cd ~
embark demo
cd embark_demo
embark blockchain run
then once it's done the building DAG, and mined a couple of blocks, and decided to stop (since the default is the mine-on-demand mode), press Ctrl+C. Then use top
or pidof geth
to note that geth is still running.
The fix I've found seems to be to set mine_when_needed: false
in blockchain.yml
. Obviously this disables mining on demand, but at least it works.
When geth does get stuck, you can attach remotely with something like geth attach ipc:/tmp/embark/geth.ipc
, type web3
, then exit with Ctrl+D. Then both copies shut down. I can only assume something gets in some funny state somewhere.
--Tom
from embark.
Another option might be to clone https://github.com/jesuscript/vagrant-dapp-env and replace its setup.yml with this very similar one that just specifies versions for a few components: https://gist.github.com/tom-seddon/0dd45250f95121451229
(I decided which versions to use in both these cases by running a VM that does work - vagrant-dapp-env, but built a couple of weeks ago - noting version numbers for geth and solc, and then installing packages on a new VM until I found ones that installed versions of geth and solc that purported to be the same version. Though I note that the geth I get today was supposedly built with go 1.5, whereas the one from 2 weeks ago was built with go 1.4.2.)
--Tom
from embark.
Interesting thing I also discovered.
If you set console: true
with mine_when_needed: false
, then you will not only kill the mine_when_needed
function (it mines constantly once that is activated), but you will also no longer get this error. I definitely think it has something to do with either console
or mine_when_needed
from embark.
Having the same issue on #123 . Removing the /tmp/embark
folder will make it possible to run embark blockchain
. But obviously shutting down the geth leads to the same issues of geth being stuck at IPC Service Started
.
Setting console: true
in turns makes it impossible to start again as it will be stuck at IPC Service Started
.
from embark.
this was an issue with geth that has been fixed since then. as for the /tmp/ folder, embark 2.0 no longer uses that folder and shouldn't have the same issue
from embark.
Related Issues (20)
- Dependabot can't resolve your JavaScript dependency files
- Embark Dashboard and Console Not Working HOT 4
- Embark build is creating strange characters that bug when deployed on IPFS HOT 1
- error in creating new project
- Bump up ganache-cli dependency version
- Add --force flag to embark build to force a redeploy of a smart contract
- Scripts are broken
- embark run geth error: Incorrect Usage. flag provided but not defined: -wsport HOT 3
- Embark Fork Chain
- Status of this project HOT 2
- Multiple errors installing and running on Mac HOT 3
- Transactions in the Cockpit interface are always empty
- Embark demo errored out
- YOUR CODE IS INFECTED WITH MALICIOUS DEPENDENCY - node-ipc
- YOUR CODE IS INFECTED WITH MALICIOUS DEPENDENCY - node-ipc
- error code ELIFECYCLE in npm -g install embark HOT 1
- Routing in embark using react is not working
- Is this repo stilll alive? HOT 2
- Still using node-ipc instead of the fork
- it has not cpe and purl item in sbom by emba analysis
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 embark.