v3.1.3
Fix type errors due to unknow type in try catch
Use console.error instead of console.log in cli/index.ts