-
Notifications
You must be signed in to change notification settings - Fork 2.3k
"callback already called" error #3008
Comments
To anyone meeting this problem it could be due to |
@TheDApact thanks for reporting this and for the repro steps! I'll take a look into why this is happening. |
I was unable to duplicate your error. I tried with both Node 10 and 12. I could successfully migrate to ropsten like you instructed. I wonder what could be going on here. |
I was on Node 14.0 best bet it's from Node. Node 12.0 does it! |
I was able to on Node 14 too. Try upgrading your version of Truffle in the |
Still getting the same error with At least we confirmed it stems from edit: same with 5.1.23 |
No I meant to say that I was able to successfully migrate to ropsten using Node 14. I'm not sure what's up with this. Are you using a globally installed version of Truffle? If so, can you do a |
Here is my environment
Here are the packages installed globally on my (just formatted) OSX Catalina
Worse mentioning that I added the snippet below to
|
Hmm weird, it looks like I can duplicate your error with Node 14 today. I think it is unrelated to the |
Your wish is my command 🧞 |
So the |
Same error with this:
But everything is just fine with this:
|
Hello I am having the same error. Is this a bug? /versions/node/v14.3.0/lib/node_modules/truffle/build/webpack:/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:358 Truffle v5.1.28 (core: 5.1.28) Thank you Will |
I was experiencing the same problem with Node v14.4.0 |
@PierreMarieRiviere This is an issue related to You should be able to to deploy to any of the production networks (including testnets) with |
I was experiencing the same problem with the following setting: It works for me after I tried 'truffle migrate --network rinkeby --skipDryRun'
Thank you ! |
same issue. |
My experience is that it is broken with N0de v14 - revert to v12.
…On Wed, 26 Aug 2020 at 10:09, Tanja Nyberg ***@***.***> wrote:
same issue.
Truffle v5.1.41 (core: 5.1.41)
Solidity v0.5.16 (solc-js)
Node v14.5.0
Web3.js v1.2.1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3008 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGV6IL5FLRK2FDFW6ZLZTDSCTGOBANCNFSM4MRDSLHQ>
.
|
'truffle migrate --network ropsten --skipDryRun' worked for me though. |
*--skipDryRun*
Nice!
…On Wed, 26 Aug 2020 at 11:36, Tanja Nyberg ***@***.***> wrote:
*'truffle migrate --network ropsten --skipDryRun'* worked for me though.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3008 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGV6II6XGCQW7KWGSZU2ZTSCTQSHANCNFSM4MRDSLHQ>
.
|
Skipping Dry Run also worked for me. Note: it can be added in the networks configs in Why isn't this issue closed already? Or are there implications on skipping the dry run, so waiting for a "permanent" fix? |
Is there anything else actionable here on this issue (other than supporting Node 14)? Just to reiterate, Truffle is not currently compatible with Node 14. Part of the problem is that Ganache is not yet compatible with Node 14 and Truffle uses that "under the hood". |
had same issue with migrate to any live network: skipDryRun worked for me too.... |
@ashu12318 Try upgrading to the latest Truffle. It is only as of Truffle version 5.1.49 that Truffle has been compatible with Node 14. |
I was getting this with the latest version of truffle attempting to deploy to mainnet. Kovan & Ropsten deployments worked fine. Work around was adding "skipDryRun: true" to truffle-config.js for mainnet. |
I try to use "skipDryRun" but not success。But I find use V12.22.1 node solve this problem( My original version is 14.17.0 )。 |
Is there anything else actionable on this? Otherwise we will go ahead and close this issue. Thanks! |
now, I meet another problem。 when I run |
@SomeJoker That sounds like an unrelated issue, so if you're still having a problem with that, you should open a new issue for it. Meanwhile, we're going to close this one. Thanks! |
When I use truffle migrate --network kovan --skipDryRun **Error: *** Deployment Failed *** "Migrations" -- Web3ProviderEngine does not support synchronous requests..** |
@williamCareyJr That sounds like a different issue. Would you mind filing a new issue for that, with more detailed reproduction steps? Thanks! |
even I have faced the same error, I have used nvm use 16 and did truffle migrate --reset --skipdryrun, it worked for mr and the contract has been deployed! |
Thanks so much for this guys I was getting this same error and I was on node 16 and reverted back to 12 and I was able to deploy onto goerli |
Issue
Deploying on testnet fails with
Error: callback already called
(but deployment on Ganache succeeds).The mentioned callback is at
/node_modules/truffle/build/webpack:/~/ganache-core/~/merkle-patricia-tree/~/async/lib/async.js:358
.Steps to Reproduce
Create the .env as required here https://github.com/okwme/truffle-shavings
Delete truffle-config,js
You should get the error
Expected Behavior
Contract should be deployed on Rinkby or any other testnet
Actual Results
Environment
• Solidity v0.5.16 (solc-js)
• yarn 1.22.4
The text was updated successfully, but these errors were encountered: