Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

can be better to change the error message from "TypeError: Cannot read property 'bytecode' of undefined" to "Error: File name and Contract name not matched" #113

Closed
TOMOAKI12345 opened this issue Mar 19, 2016 · 2 comments

Comments

@TOMOAKI12345
Copy link

https://gyazo.com/c4b53eac5846aa9801168356dca0659d

@tcoulter
Copy link
Contributor

Thanks @TOMOAKI12345. This has already been fixed in the 0.4.0 pre-release. Please try that instead!

https://github.com/ConsenSys/truffle/releases/tag/v0.3.9

@TOMOAKI12345
Copy link
Author

thanks now "Could not find expected contract or library in 'MetaCoin.sol': contract or library 'MetaCoin' not found."
and can run by -p https://gyazo.com/89046c8627f9df092ed82a1400c22814

p.s. For my Mac yosemite env
$ mv /usr/local/bin/truffle {somewhere}
$ mv /usr/local/bin/truffle-exec {somewhere}
needed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants