Truffle migration error on Rospten Infura

Trying to deploy a smart contract with:

$ truffle migrate --network ropsten

But I got this error:

/home/user/Documentos/testcontract/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 (/home/user/Documentos/testcontract/node_modules/eth-block-tracker/src/polling.js:51:24)
at processTicksAndRejections (internal/process/task_queues.js:97:5)

1 Like

Hi Synapsido,
thanks for reaching out to ConsenSys support!

The error code is “undefined” - possibly you have something misconfigured in your project. Can you provide a github repo I can check?

Warm regards,
Chris | Truffle | ConsenSys

1 Like

I post the error and the truffle-config.js in:

https://stackoverflow.com/questions/72469992/truffle-migration-error-on-rospten-infura?noredirect=1#comment128099675_72469992

1 Like

Double check the project_id you show there. I can’t find that project in our system. Unless you faked it for the post.

1 Like