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


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


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