Giter Club home page Giter Club logo

Comments (6)

CasiniNift avatar CasiniNift commented on August 18, 2024 1

I was able to make it work.
Thank you for the help.

from moonbeam-docs.

eshaben avatar eshaben commented on August 18, 2024

hey! thanks for reporting. you're getting this error in your terminal directly after running the command? or in your development node logs?

I just tried using this command on the example contract, MyToken.sol, in the moonbeam truffle box with truffle version v5.8.2 and was unable to reproduce the issue.

what version of truffle are you running? it might help to try installing the latest version of truffle and seeing if that does the trick.

if that doesn't work, could you please provide reproduction steps? that would be super helpful! thanks! 🙂

from moonbeam-docs.

CasiniNift avatar CasiniNift commented on August 18, 2024

Sorry for the late reply
I am getting this error directly in the terminal

What is the lateste version of truffle ? That way I can make sure that it's installed

from moonbeam-docs.

eshaben avatar eshaben commented on August 18, 2024

What is the lateste version of truffle ? That way I can make sure that it's installed

It is 5.9.0. Just so you know, you can always find the latest version on the npm page for the package where it says version: https://www.npmjs.com/package/truffle

from moonbeam-docs.

CasiniNift avatar CasiniNift commented on August 18, 2024

Hello, I also have version 5.9.0

This is the full error I am getting

/Users/christiancasini/node_modules/eth-block-tracker/src/polling.js:51
const newErr = new Error(PollingBlockTracker - encountered an error while attempting to update latest block:\n${err.stack})
^
Error: PollingBlockTracker - encountered an error while attempting to update latest block:
undefined
at PollingBlockTracker._performSync (/Users/christiancasini/node_modules/eth-block-tracker/src/polling.js:51:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
UnhandledRejections detected
Promise {
{
code: -32603,
message: 'socket hang up',
data: { originalError: [Object] }
}
} {
code: -32603,
message: 'socket hang up',
data: { originalError: { code: 'ECONNRESET' } }
}
Promise {
{
code: -32603,
message: 'socket hang up',
data: { originalError: [Object] }
}
} {
code: -32603,
message: 'socket hang up',
data: { originalError: { code: 'ECONNRESET' } }
}
Promise {
{
code: -32603,
message: 'socket hang up',
data: { originalError: [Object] }
}
} {
code: -32603,
message: 'socket hang up',
data: { originalError: { code: 'ECONNRESET' } }
}
➜ ~

from moonbeam-docs.

eshaben avatar eshaben commented on August 18, 2024

@CasiniNift ok. I'm not able to reproduce the issue, so we can kind of start by going down the list to narrow it down:

  • are you on linux, mac, or windows?
  • how did you start up the development node? can you please share the exact command?
  • when did the error occur? were you trying to interact with the node or did it randomly start appearing?
  • if you were trying to interact with the node, what were you trying to do?

another idea that would certainly help is to restart your node as that generally helps with node-related issues. if you use the moonbeam truffle box and plugin to start up the node, you can simple run:

truffle run moonbeam stop && \
truffle run moonbeam remove

If you used Docker, you can take the following steps:

  1. run docker container ls to get a list of your containers
  2. find the purestake/moonbeam container and grab the container ID
  3. run docker stop CONTAINER_ID && docker rm CONTAINER_ID (just replace CONTAINER_ID with the actual ID of the container)

This will stop the container, then you can start the node back up using the command you originally started it up with. There are directions on the Moonbeam Development Node page of our docs site, just in case.

from moonbeam-docs.

Related Issues (19)

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.