Skip to content

MCP工具错误: createFunction #149

@vellz

Description

@vellz

错误描述

工具 createFunction 执行时发生错误

错误信息

函数代码打包失败:路径不存在或无读写权限:c:\Users\Administrator\CodeBuddy\chehui\h5-cb\cloudfunctions\searchNearby2

环境ID

kqd-8gnlcylt68850143

环境信息

  • 操作系统: Windows_NT 10.0.19045
  • Node.js版本: v20.19.3
  • MCP 版本:1.8.33
  • 系统架构: x64
  • 时间: 2025-08-16T09:41:05.648Z

工具参数

{
  "func": {
    "name": "searchNearby2",
    "timeout": 30,
    "runtime": "Nodejs18.15",
    "handler": "index.main",
    "isWaitInstall": true,
    "installDependency": true
  },
  "functionRootPath": "c:/Users/Administrator/CodeBuddy/chehui/h5-cb/cloudfunctions",
  "force": true
}

复现步骤

  1. 使用工具: createFunction
  2. 传入参数: 上述参数信息
  3. 出现错误

期望行为

[请描述您期望的正确行为]

其他信息

[如有其他相关信息,请在此补充]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions