i keep getting this error when i try deploying my contract to ropsten and the mainnet
"callback contain no result Error: SyntaxError: Unexpected token < in JSON at position 0" can someone please help me?
I met similar issue when deployed my contract to my private network and fixed it by remove .DS_Store file in build/ and build/contracts. This is an issue of Truffle. Check this .DS_Store files cause 'truffle compile' to fail and it can also be fixed by add a recursive search bash script.