import { IpfsDaemon } from '../ipfs-daemon' ; process . on ( 'uncaughtException' , ( err ) => { console . log ( err ) ; } ) ; IpfsDaemon . create ( ) . then ( ( ipfs ) => ipfs . start ( ) ) . catch ( ( e ) => console . error ( e ) ) ;