在本地构建成功,使用Jenkins自动部署构建失败
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
$ vue-tsc --noEmit && vite build
src/utils/usedayjs.ts(2,28): error TS2307: Cannot find module 'dayjs/esm/plugin/IsSameOrBefore' or its corresponding type declarations.
src/utils/usedayjs.ts(3,27): error TS2307: Cannot find module 'dayjs/esm/plugin/IsSameOrAfter' or its corresponding type declarations.
src/utils/usedayjs.ts(14,20): error TS2339: Property 'isSameOrAfter' does not exist on type 'Dayjs'.
src/utils/usedayjs.ts(19,20): error TS2339: Property 'isSameOrBefore' does not exist on type 'Dayjs'.
error Command failed with exit code 2.
Contributor guide
Assessment
This issue has not been assessed yet.