chooin / cdn-cli Goto Github PK
View Code? Open in Web Editor NEW通过命令行将文件上传至对象存储,支持阿里云、腾讯云以及七牛云
通过命令行将文件上传至对象存储,支持阿里云、腾讯云以及七牛云
i just want to run command pnpm build
.
first i install pnpm 8
, but this will break the pnpm.lock
file.
then i install pnpm 7
and run pnpm build
.
but both of them will throw type error below.
i don't know how should i do for this.. can u write some init step in readme for helping us to run the project..
thanks advance!
> tsc
../../../node_modules/@types/react-dom/index.d.ts:20:19 - error TS2724: '"react"' has no exported member named 'SFCElement'. Did you mean 'CElement'?
20 ReactElement, SFCElement, CElement,
~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:58:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'Blob' must be of type '{ new (blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; prototype: Blob; }', but here has type '{ new (blobParts?: (string | Blob)[], options?: BlobOptions): Blob; prototype: Blob; }'.
58 declare var Blob: {
~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2590:13
2590 declare var Blob: {
~~~~
'Blob' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:77:15 - error TS2300: Duplicate identifier 'FormData'.
77 declare class FormData {
~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5596:11
5596 interface FormData {
~~~~~~~~
'FormData' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5606:13
5606 declare var FormData: {
~~~~~~~~
and here.
../../../node_modules/@types/react-native/globals.d.ts:101:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'Headers' must be of type '{ new (init?: HeadersInit): Headers; prototype: Headers; }', but here has type '{ new (init?: HeadersInit_): Headers; prototype: Headers; }'.
101 declare var Headers: {
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:8642:13
8642 declare var Headers: {
~~~~~~~
'Headers' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:135:5 - error TS2717: Subsequent property declarations must have the same type. Property 'body' must be of type 'BodyInit', but here has type 'BodyInit_'.
135 body?: BodyInit_ | undefined;
~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:1612:5
1612 body?: BodyInit | null;
~~~~
'body' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:137:5 - error TS2717: Subsequent property declarations must have the same type. Property 'headers' must be of type 'HeadersInit', but here has type 'HeadersInit_'.
137 headers?: HeadersInit_ | undefined;
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:1618:5
1618 headers?: HeadersInit;
~~~~~~~
'headers' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:143:5 - error TS2717: Subsequent property declarations must have the same type. Property 'window' must be of type 'null', but here has type 'any'.
143 window?: any;
~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:1636:5
1636 window?: null;
~~~~~~
'window' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:157:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'Request' must be of type '{ new (input: RequestInfo | URL, init?: RequestInit): Request; prototype: Request; }', but here has type '{ new (input: string | Request, init?: RequestInit): Request; prototype: Request; }'.
157 declare var Request: {
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:11912:13
11912 declare var Request: {
~~~~~~~
'Request' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:162:14 - error TS2300: Duplicate identifier 'RequestInfo'.
162 declare type RequestInfo = Request | string;
~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:18561:6
18561 type RequestInfo = Request | string;
~~~~~~~~~~~
'RequestInfo' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:165:5 - error TS2717: Subsequent property declarations must have the same type. Property 'headers' must be of type 'HeadersInit', but here has type 'HeadersInit_'.
165 headers?: HeadersInit_ | undefined;
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:1644:5
1644 headers?: HeadersInit;
~~~~~~~
'headers' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:181:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'Response' must be of type '{ new (body?: BodyInit, init?: ResponseInit): Response; prototype: Response; error(): Response; redirect(url: string | URL, status?: number): Response; }', but here has type '{ new (body?: BodyInit_, init?: ResponseInit): Response; prototype: Response; error: () => Response; redirect: (url: string, status?: number) => Response; }'.
181 declare var Response: {
~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:11963:13
11963 declare var Response: {
~~~~~~~~
'Response' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:230:14 - error TS2717: Subsequent property declarations must have the same type. Property 'DONE' must be of type '4', but here has type 'number'.
230 readonly DONE: number;
~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17350:14
17350 readonly DONE: 4;
~~~~
'DONE' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:231:14 - error TS2717: Subsequent property declarations must have the same type. Property 'HEADERS_RECEIVED' must be of type '2', but here has type 'number'.
231 readonly HEADERS_RECEIVED: number;
~~~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17348:14
17348 readonly HEADERS_RECEIVED: 2;
~~~~~~~~~~~~~~~~
'HEADERS_RECEIVED' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:232:14 - error TS2717: Subsequent property declarations must have the same type. Property 'LOADING' must be of type '3', but here has type 'number'.
232 readonly LOADING: number;
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17349:14
17349 readonly LOADING: 3;
~~~~~~~
'LOADING' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:233:14 - error TS2717: Subsequent property declarations must have the same type. Property 'OPENED' must be of type '1', but here has type 'number'.
233 readonly OPENED: number;
~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17347:14
17347 readonly OPENED: 1;
~~~~~~
'OPENED' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:234:14 - error TS2717: Subsequent property declarations must have the same type. Property 'UNSENT' must be of type '0', but here has type 'number'.
234 readonly UNSENT: number;
~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17346:14
17346 readonly UNSENT: 0;
~~~~~~
'UNSENT' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:247:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'XMLHttpRequest' must be of type '{ new (): XMLHttpRequest; prototype: XMLHttpRequest; readonly UNSENT: 0; readonly OPENED: 1; readonly HEADERS_RECEIVED: 2; readonly LOADING: 3; readonly DONE: 4; }', but here has type '{ new (): XMLHttpRequest; prototype: XMLHttpRequest; readonly DONE: number; readonly HEADERS_RECEIVED: number; readonly LOADING: number; readonly OPENED: number; readonly UNSENT: number; }'.
247 declare var XMLHttpRequest: {
~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17357:13
17357 declare var XMLHttpRequest: {
~~~~~~~~~~~~~~
'XMLHttpRequest' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:258:5 - error TS2717: Subsequent property declarations must have the same type. Property 'abort' must be of type 'ProgressEvent<XMLHttpRequestEventTarget>', but here has type 'ProgressEvent<EventTarget>'.
258 abort: ProgressEvent;
~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17368:5
17368 "abort": ProgressEvent<XMLHttpRequestEventTarget>;
~~~~~~~
'abort' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:259:5 - error TS2717: Subsequent property declarations must have the same type. Property 'error' must be of type 'ProgressEvent<XMLHttpRequestEventTarget>', but here has type 'ProgressEvent<EventTarget>'.
259 error: ProgressEvent;
~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17369:5
17369 "error": ProgressEvent<XMLHttpRequestEventTarget>;
~~~~~~~
'error' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:260:5 - error TS2717: Subsequent property declarations must have the same type. Property 'load' must be of type 'ProgressEvent<XMLHttpRequestEventTarget>', but here has type 'ProgressEvent<EventTarget>'.
260 load: ProgressEvent;
~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17370:5
17370 "load": ProgressEvent<XMLHttpRequestEventTarget>;
~~~~~~
'load' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:261:5 - error TS2717: Subsequent property declarations must have the same type. Property 'loadend' must be of type 'ProgressEvent<XMLHttpRequestEventTarget>', but here has type 'ProgressEvent<EventTarget>'.
261 loadend: ProgressEvent;
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17371:5
17371 "loadend": ProgressEvent<XMLHttpRequestEventTarget>;
~~~~~~~~~
'loadend' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:262:5 - error TS2717: Subsequent property declarations must have the same type. Property 'loadstart' must be of type 'ProgressEvent<XMLHttpRequestEventTarget>', but here has type 'ProgressEvent<EventTarget>'.
262 loadstart: ProgressEvent;
~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17372:5
17372 "loadstart": ProgressEvent<XMLHttpRequestEventTarget>;
~~~~~~~~~~~
'loadstart' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:263:5 - error TS2717: Subsequent property declarations must have the same type. Property 'progress' must be of type 'ProgressEvent<XMLHttpRequestEventTarget>', but here has type 'ProgressEvent<EventTarget>'.
263 progress: ProgressEvent;
~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17373:5
17373 "progress": ProgressEvent<XMLHttpRequestEventTarget>;
~~~~~~~~~~
'progress' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:264:5 - error TS2717: Subsequent property declarations must have the same type. Property 'timeout' must be of type 'ProgressEvent<XMLHttpRequestEventTarget>', but here has type 'ProgressEvent<EventTarget>'.
264 timeout: ProgressEvent;
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:17374:5
17374 "timeout": ProgressEvent<XMLHttpRequestEventTarget>;
~~~~~~~~~
'timeout' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:305:14 - error TS2300: Duplicate identifier 'XMLHttpRequestResponseType'.
305 declare type XMLHttpRequestResponseType = '' | 'arraybuffer' | 'blob' | 'document' | 'json' | 'text';
~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:18726:6
18726 type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
~~~~~~~~~~~~~~~~~~~~~~~~~~
'XMLHttpRequestResponseType' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:312:15 - error TS2300: Duplicate identifier 'URL'.
312 declare class URL {
~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:14680:11
14680 interface URL {
~~~
'URL' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:14697:13
14697 declare var URL: {
~~~
and here.
../../../node_modules/@types/react-native/globals.d.ts:337:15 - error TS2300: Duplicate identifier 'URLSearchParams'.
337 declare class URLSearchParams {
~~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:14707:11
14707 interface URLSearchParams {
~~~~~~~~~~~~~~~
'URLSearchParams' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:14726:13
14726 declare var URLSearchParams: {
~~~~~~~~~~~~~~~
and here.
../../../node_modules/@types/react-native/globals.d.ts:381:5 - error TS2717: Subsequent property declarations must have the same type. Property 'onopen' must be of type '(this: WebSocket, ev: Event) => any', but here has type '() => void'.
381 onopen: (() => void) | null;
~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:16902:5
16902 onopen: ((this: WebSocket, ev: Event) => any) | null;
~~~~~~
'onopen' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:382:5 - error TS2717: Subsequent property declarations must have the same type. Property 'onmessage' must be of type '(this: WebSocket, ev: MessageEvent<any>) => any', but here has type '(event: WebSocketMessageEvent) => void'.
382 onmessage: ((event: WebSocketMessageEvent) => void) | null;
~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:16901:5
16901 onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;
~~~~~~~~~
'onmessage' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:383:5 - error TS2717: Subsequent property declarations must have the same type. Property 'onerror' must be of type '(this: WebSocket, ev: Event) => any', but here has type '(event: WebSocketErrorEvent) => void'.
383 onerror: ((event: WebSocketErrorEvent) => void) | null;
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:16900:5
16900 onerror: ((this: WebSocket, ev: Event) => any) | null;
~~~~~~~
'onerror' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:384:5 - error TS2717: Subsequent property declarations must have the same type. Property 'onclose' must be of type '(this: WebSocket, ev: CloseEvent) => any', but here has type '(event: WebSocketCloseEvent) => void'.
384 onclose: ((event: WebSocketCloseEvent) => void) | null;
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:16899:5
16899 onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;
~~~~~~~
'onclose' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:385:5 - error TS2717: Subsequent property declarations must have the same type. Property 'addEventListener' must be of type '{ <K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; (type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; }', but here has type 'WebsocketEventListener'.
385 addEventListener: WebsocketEventListener;
~~~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:16917:5
16917 addEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'addEventListener' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:386:5 - error TS2717: Subsequent property declarations must have the same type. Property 'removeEventListener' must be of type '{ <K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void; (type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; }', but here has type 'WebsocketEventListener'.
386 removeEventListener: WebsocketEventListener;
~~~~~~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:16919:5
16919 removeEventListener<K extends keyof WebSocketEventMap>(type: K, listener: (this: WebSocket, ev: WebSocketEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'removeEventListener' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:389:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'WebSocket' must be of type '{ new (url: string | URL, protocols?: string | string[]): WebSocket; prototype: WebSocket; readonly CONNECTING: 0; readonly OPEN: 1; readonly CLOSING: 2; readonly CLOSED: 3; }', but here has type '{ new (uri: string, protocols?: string | string[], options?: { [optionName: string]: any; headers: { [headerName: string]: string; }; }): WebSocket; prototype: WebSocket; readonly CLOSED: number; readonly CLOSING: number; readonly CONNECTING: number; readonly OPEN: number; }'.
389 declare var WebSocket: {
~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:16923:13
16923 declare var WebSocket: {
~~~~~~~~~
'WebSocket' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:413:15 - error TS2300: Duplicate identifier 'AbortSignal'.
413 declare class AbortSignal implements EventTarget {
~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2078:11
2078 interface AbortSignal extends EventTarget {
~~~~~~~~~~~
'AbortSignal' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2090:13
2090 declare var AbortSignal: {
~~~~~~~~~~~
and here.
node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:60:11
60 interface AbortSignal extends EventTarget {
~~~~~~~~~~~
and here.
node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:74:13
74 declare var AbortSignal: typeof globalThis extends {onmessage: any; AbortSignal: infer T}
~~~~~~~~~~~
and here.
../../../node_modules/@types/react-native/globals.d.ts:413:15 - error TS2420: Class 'AbortSignal' incorrectly implements interface 'EventTarget'.
Property 'dispatchEvent' is missing in type 'AbortSignal' but required in type 'EventTarget'.
413 declare class AbortSignal implements EventTarget {
~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5344:5
5344 dispatchEvent(event: Event): boolean;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'dispatchEvent' is declared here.
../../../node_modules/@types/react-native/globals.d.ts:448:15 - error TS2300: Duplicate identifier 'AbortController'.
448 declare class AbortController {
~~~~~~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2061:11
2061 interface AbortController {
~~~~~~~~~~~~~~~
'AbortController' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2068:13
2068 declare var AbortController: {
~~~~~~~~~~~~~~~
and here.
node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:47:11
47 interface AbortController {
~~~~~~~~~~~~~~~
and here.
node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:67:13
67 declare var AbortController: typeof globalThis extends {onmessage: any; AbortController: infer T}
~~~~~~~~~~~~~~~
and here.
../../../node_modules/@types/react-native/globals.d.ts:473:14 - error TS2717: Subsequent property declarations must have the same type. Property 'error' must be of type 'DOMException', but here has type 'Error'.
473 readonly error: Error | null;
~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5403:14
5403 readonly error: DOMException | null;
~~~~~
'error' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:480:14 - error TS2717: Subsequent property declarations must have the same type. Property 'readyState' must be of type '0 | 2 | 1', but here has type 'number'.
480 readonly readyState: number;
~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5410:14
5410 readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
~~~~~~~~~~
'readyState' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:487:14 - error TS2717: Subsequent property declarations must have the same type. Property 'DONE' must be of type '2', but here has type 'number'.
487 readonly DONE: number;
~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5419:14
5419 readonly DONE: 2;
~~~~
'DONE' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:488:14 - error TS2717: Subsequent property declarations must have the same type. Property 'EMPTY' must be of type '0', but here has type 'number'.
488 readonly EMPTY: number;
~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5417:14
5417 readonly EMPTY: 0;
~~~~~
'EMPTY' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:489:14 - error TS2717: Subsequent property declarations must have the same type. Property 'LOADING' must be of type '1', but here has type 'number'.
489 readonly LOADING: number;
~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5418:14
5418 readonly LOADING: 1;
~~~~~~~
'LOADING' was also declared here.
../../../node_modules/@types/react-native/globals.d.ts:504:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'FileReader' must be of type '{ new (): FileReader; prototype: FileReader; readonly EMPTY: 0; readonly LOADING: 1; readonly DONE: 2; }', but here has type '{ new (): FileReader; prototype: FileReader; readonly DONE: number; readonly EMPTY: number; readonly LOADING: number; }'.
504 declare var FileReader: {
~~~~~~~~~~
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5426:13
5426 declare var FileReader: {
~~~~~~~~~~
'FileReader' was also declared here.
../../../node_modules/@types/styled-components/ts3.7/index.d.ts:163:8 - error TS2615: Type of property 'propTypes' circularly references itself in mapped type 'ForwardRefExoticBase<Omit<Omit<any, any> & Partial<Pick<any, any>>, "theme"> & { theme?: any; } & WithChildrenIfReactComponentClass<StyledComponentInnerComponent<WithC>>>'.
163 ): StyledComponent<
~~~~~~~~~~~~~~~~
164 StyledComponentInnerComponent<WithC>,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
167 A | StyledComponentInnerAttrs<WithC>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168 >;
~~~~~
node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:47:11 - error TS2300: Duplicate identifier 'AbortController'.
47 interface AbortController {
~~~~~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:448:15
448 declare class AbortController {
~~~~~~~~~~~~~~~
'AbortController' was also declared here.
node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:60:11 - error TS2300: Duplicate identifier 'AbortSignal'.
60 interface AbortSignal extends EventTarget {
~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:413:15
413 declare class AbortSignal implements EventTarget {
~~~~~~~~~~~
'AbortSignal' was also declared here.
node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:67:13 - error TS2300: Duplicate identifier 'AbortController'.
67 declare var AbortController: typeof globalThis extends {onmessage: any; AbortController: infer T}
~~~~~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:448:15
448 declare class AbortController {
~~~~~~~~~~~~~~~
'AbortController' was also declared here.
node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:74:13 - error TS2300: Duplicate identifier 'AbortSignal'.
74 declare var AbortSignal: typeof globalThis extends {onmessage: any; AbortSignal: infer T}
~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:413:15
413 declare class AbortSignal implements EventTarget {
~~~~~~~~~~~
'AbortSignal' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2061:11 - error TS2300: Duplicate identifier 'AbortController'.
2061 interface AbortController {
~~~~~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:448:15
448 declare class AbortController {
~~~~~~~~~~~~~~~
'AbortController' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2068:13 - error TS2300: Duplicate identifier 'AbortController'.
2068 declare var AbortController: {
~~~~~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:448:15
448 declare class AbortController {
~~~~~~~~~~~~~~~
'AbortController' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2078:11 - error TS2300: Duplicate identifier 'AbortSignal'.
2078 interface AbortSignal extends EventTarget {
~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:413:15
413 declare class AbortSignal implements EventTarget {
~~~~~~~~~~~
'AbortSignal' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2090:13 - error TS2300: Duplicate identifier 'AbortSignal'.
2090 declare var AbortSignal: {
~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:413:15
413 declare class AbortSignal implements EventTarget {
~~~~~~~~~~~
'AbortSignal' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5596:11 - error TS2300: Duplicate identifier 'FormData'.
5596 interface FormData {
~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:77:15
77 declare class FormData {
~~~~~~~~
'FormData' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:5606:13 - error TS2300: Duplicate identifier 'FormData'.
5606 declare var FormData: {
~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:77:15
77 declare class FormData {
~~~~~~~~
'FormData' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:14680:11 - error TS2300: Duplicate identifier 'URL'.
14680 interface URL {
~~~
../../../node_modules/@types/react-native/globals.d.ts:312:15
312 declare class URL {
~~~
'URL' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:14697:13 - error TS2300: Duplicate identifier 'URL'.
14697 declare var URL: {
~~~
../../../node_modules/@types/react-native/globals.d.ts:312:15
312 declare class URL {
~~~
'URL' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:14707:11 - error TS2300: Duplicate identifier 'URLSearchParams'.
14707 interface URLSearchParams {
~~~~~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:337:15
337 declare class URLSearchParams {
~~~~~~~~~~~~~~~
'URLSearchParams' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:14726:13 - error TS2300: Duplicate identifier 'URLSearchParams'.
14726 declare var URLSearchParams: {
~~~~~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:337:15
337 declare class URLSearchParams {
~~~~~~~~~~~~~~~
'URLSearchParams' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:18561:6 - error TS2300: Duplicate identifier 'RequestInfo'.
18561 type RequestInfo = Request | string;
~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:162:14
162 declare type RequestInfo = Request | string;
~~~~~~~~~~~
'RequestInfo' was also declared here.
node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:18726:6 - error TS2300: Duplicate identifier 'XMLHttpRequestResponseType'.
18726 type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../node_modules/@types/react-native/globals.d.ts:305:14
305 declare type XMLHttpRequestResponseType = '' | 'arraybuffer' | 'blob' | 'document' | 'json' | 'text';
~~~~~~~~~~~~~~~~~~~~~~~~~~
'XMLHttpRequestResponseType' was also declared here.
Found 60 errors in 5 files.
Errors Files
1 ../../../node_modules/@types/react-dom/index.d.ts:20
42 ../../../node_modules/@types/react-native/globals.d.ts:58
1 ../../../node_modules/@types/styled-components/ts3.7/index.d.ts:163
4 node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts:47
12 node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts:2061
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are pending. To force PRs open, click the checkbox below.
ali-oss
, @types/ali-oss
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
package.json
ali-oss ^6.16.0
commander ^10.0.0
cos-nodejs-sdk-v5 ^2.11.12
dir-glob ^3.0.1
fs-extra ^11.1.1
glob ^9.3.1
kleur ^4.1.4
lodash ^4.17.21
minimatch ^7.4.2
qiniu ^7.4.0
@types/ali-oss ^6.16.7
@types/dir-glob ^2.0.1
@types/fs-extra ^11.0.1
@types/glob ^8.1.0
@types/lodash ^4.14.182
@types/minimatch ^5.1.2
@types/node ^18.15.5
husky ^8.0.3
prettier ^2.8.6
pretty-quick ^3.1.3
typescript ^5.0.2
.nvmrc
node 18
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.