iamkun / iamkun/dayjs

在本地构建成功,使用Jenkins自动部署构建失败

Open
#2,045 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.