Reputation: 13
I'm working on creating a new CLI tool using the oclif framework and TypeScript, but I’m running into issues when trying to build the project
After generating cli it errors out
Then trying to manually npm run build(shx rm -rf dist && tsc -b
) it also error out
What could be causing these TypeScript errors with @types/jest, and how can I resolve them to successfully build my oclif CLI project?
Any insights or suggestions would be greatly appreciated!
Upvotes: 0
Views: 64
Reputation: 13
Nevermind solve it, by adding "skipLibCheck": true
in my tsconfig.json
Also Adding mocha
chai
node
as types in tsconfig.json
fixes the error
Dont know why this 3 errored out to begin with
Upvotes: 0