[Ethereum] Module not found: Can’t resolve ‘./contracts/SimpleStorage.json’

reacttruffletruffle-contract

I am new to solidity, truffle and i tried react-box from Truffle and i get the following error. I am using Macos.

Here is the basic steps

    npm install -g truffle
    truffle develop
    compile
    migrate

https://github.com/truffle-box/react-box

Module not found: Can't resolve './contracts/SimpleStorage.json'

Best Answer

Had the same error. It appears that a dependency is not included in node_modules when using truffle unbox react.

Just install the missing dependency and the error will go away: npm install bignumber.js