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