SukkaW / vercel-dns-console

An unofficial implementation of Vercel DNS Dashboard
https://vercel-dns.skk.moe
MIT License
37 stars 4 forks source link

build err at ./src/components/anti-adblock/index.tsx:51:16 #5

Open orangejx opened 5 months ago

orangejx commented 5 months ago

Dear Manager,

Build Env: Node: v18.20.2 NPM: 10.5.0

I encountered some errors when I was building it; here are the details of the error log:

> vercel-dns-console@0.1.0 build
> next build

   Linting and checking validity of types  ...Failed to compile.

./src/components/anti-adblock/index.tsx:51:16
Type error: Type '{ children: string; href: string; target: "_blank"; rel: string; icon: true; color: true; }' is missing the following properties from type 'Pick<Props & NativeAttrs & RefAttributes<HTMLAnchorElement> & ScaleProps, "defaultChecked" | "defaultValue" | ... 260 more ... | "referrerPolicy">': placeholder, onPointerEnterCapture, onPointerLeaveCapture

  49 |               Report the issue to the filtering rules maintainer
  50 |               {' '}
> 51 |               <Link
     |                ^
  52 |                 href="https://github.com/uBlockOrigin/uAssets/issues"
  53 |                 target="_blank"
  54 |                 rel="noopener noreferrer nofollow external"
SukkaW commented 1 month ago

Dear Manager,

Build Env: Node: v18.20.2 NPM: 10.5.0

I encountered some errors when I was building it; here are the details of the error log:

> vercel-dns-console@0.1.0 build
> next build

   Linting and checking validity of types  ...Failed to compile.

./src/components/anti-adblock/index.tsx:51:16
Type error: Type '{ children: string; href: string; target: "_blank"; rel: string; icon: true; color: true; }' is missing the following properties from type 'Pick<Props & NativeAttrs & RefAttributes<HTMLAnchorElement> & ScaleProps, "defaultChecked" | "defaultValue" | ... 260 more ... | "referrerPolicy">': placeholder, onPointerEnterCapture, onPointerLeaveCapture

  49 |               Report the issue to the filtering rules maintainer
  50 |               {' '}
> 51 |               <Link
     |                ^
  52 |                 href="https://github.com/uBlockOrigin/uAssets/issues"
  53 |                 target="_blank"
  54 |                 rel="noopener noreferrer nofollow external"

The type mismatch came from https://github.com/geist-org/geist-ui/issues/858 and I can't do anything about this. The geist-ui is no longer maintained, I am looking for a new component library.