truffle-box / react-box

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

Problem migrating without first deleting build folder #77

Closed elie222 closed 5 years ago

elie222 commented 5 years ago

I get the following error when running truffle migrate (also with --reset option).

Running migration: 1_initial_migration.js
fs.js:126
    throw err;
    ^

Error: EISDIR: illegal operation on a directory, read
    at Object.fs.readSync (fs.js:614:3)
    at tryReadSync (fs.js:454:20)
    at Object.fs.readFileSync (fs.js:495:19)
    at FS.getContractName (...../.nvm/versions/node/v10.1.0/lib/node_modules/truffle

To solve this I delete the build folder before migrate, but not necessarily the best solution if you have items in your build you'd like to keep (such as old network deploys to different networks).

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.