truffle-box / react-box

Truffle, Webpack and React boilerplate.
https://truffle-box.github.io/
MIT License
736 stars 251 forks source link

npm start right after unboxing fails to compile #44

Closed woniesong92 closed 5 years ago

woniesong92 commented 6 years ago

With the following error:

Failed to compile.

Error in ./src/App.js
Module not found: ../build/contracts/SimpleStorage.json in /proj/src

 @ ./src/App.js 14:21-69
JayLance commented 6 years ago

try truffle compile then building

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if no there is no reply to further comments.

dlsso commented 2 years ago

try truffle compile then building

This is the solution. Maybe it would be good to change the /client/readme.md to something more like the readme for this repo. As of right now there's no way for people to know truffle compile is needed just by running truffle unbox react, they would have to come and read this repo's readme.