Skip to content

关于支持的JS语法的问题 #125

@for-just-we

Description

@for-just-we

分析lobhub时出现下面问题,似乎有些ts文件没被正确解析。

Failed to parse ~/lobehub-2.1.56/src/libs/better-auth/auth-client.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/server/featureFlags/index.ts in worker: Property operator expected value to be one of ["=","^=","&=","<<=",">>=",">>>=","+=","-=","*=","/=","%=","|=","**="] but got "??="
Failed to parse ~/lobehub-2.1.56/src/store/middleware/expose.ts in worker: Property operator expected value to be one of ["=","^=","&=","<<=",">>=",">>>=","+=","-=","*=","/=","%=","|=","**="] but got "??="
Failed to parse ~/lobehub-2.1.56/src/store/serverConfig/store.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/features/AgentSetting/store/index.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/features/ChatInput/store/index.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/features/Conversation/store/index.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/features/PageEditor/store/index.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/server/services/document/index.ts in worker: Property operator expected value to be one of ["=","^=","&=","<<=",">>=",">>>=","+=","-=","*=","/=","%=","|=","**="] but got "??="
Failed to parse ~/lobehub-2.1.56/src/app/(backend)/api/workflows/agent-eval-run/execute-test-case/route.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/app/(backend)/api/workflows/agent-eval-run/finalize-run/route.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/app/(backend)/api/workflows/agent-eval-run/paginate-test-cases/route.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/app/(backend)/api/workflows/agent-eval-run/resume-agent-trajectory/route.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/app/(backend)/api/workflows/agent-eval-run/resume-thread-trajectory/route.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/app/(backend)/api/workflows/agent-eval-run/run-agent-trajectory/route.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/app/(backend)/api/workflows/agent-eval-run/run-benchmark/route.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/app/(backend)/api/workflows/agent-eval-run/run-thread-trajectory/route.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"
Failed to parse ~/lobehub-2.1.56/src/routes/(main)/agent/profile/features/store/index.ts in worker: Property alias of ExportStatement expected node to be of a type ["Identifier"] but instead got "Noop"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions