Skip to content

前端编译失败:src/pages/Chat.tsx:662:52 - error TS2339: Property 'name' does not exist on type 'Blob'. 662 name: webReturn.blob.name #21

@alen2019

Description

@alen2019

npm run build 的时候报错:

frontend@0.0.0 build /local/RWKV-Runner/frontend
tsc && vite build

src/pages/Chat.tsx:662:52 - error TS2339: Property 'name' does not exist on type 'Blob'.

662 name: webReturn.blob.name,
~~~~

Found 1 error in src/pages/Chat.tsx:662

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! frontend@0.0.0 build: tsc && vite build
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the frontend@0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2024-02-20T10_42_17_585Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions