-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Migrating fails (Ganache and Truffle Develop) #3991
Comments
Upgrading truffle caused yet another error, this time due to my solc version being wrong. I think I can fix that myself, so I'll close this. |
With the newest version of Truffle, and solc@4.24.0, it still fails with the same error about not being able to find files.
|
@gideongrinberg you'll want to do Not sure why you're getting that uncaughtException error, but maybe try fixing your Thanks for reporting this! |
Thanks for the reply @gnidan. It still doesn't work, same error:
|
Hi @gideongrinberg, is it possible to share your project with us? It will help us troubleshoot the entire workflow. Thanks! |
Thanks for the response! I'm actually not sure if I still have the project, I'll see if I can find it. |
Thanks @gideongrinberg! That would be super helpful! I can't duplicate your error from the steps you gave. I tried on Node 15 and it seemed to run just fine. I wonder what could be going on here... |
I can't seem to find the project. I must've migrated it to hardhat before committing. It's very likely I made a dumb mistake somewhere. Thanks for all your help! |
Issue
Truffle is unable to find contracts in a subdirectory when I'm using
ganache.
Steps to Reproduce
First Attempt:
truffle init
to create a new projectcontracts/
and tests intotests/
(all contracts compiled and all tests passed.truffle-config.js
truffle migrate --network development
Second Attempt:
truffle develop
and thenmigrate
Expected Behavior
The contracts would've compiled and migrated.
Actual Results
First Attempt:
Truffle couldn't find some of the files (all of which had worked for first time.) See this gist for the source and the error messages.
Second attempt:
New error. See this Gist.
Environment
truffle version
): I've tried bot Truffle v4.1.14 andtruffle@latest
node --version
): v15.1.0npm --version
): 7.0.8There's a 99% chance I'm making a dumb mistake somewhere in these steps. Thanks in advance for any help!
(I'm also aware that these are two separate issues, but I'll leave them as one for now)
The text was updated successfully, but these errors were encountered: