Skip to content

MCP工具错误: createFunction #75

@lzcjsyr

Description

@lzcjsyr

错误描述

工具 createFunction 执行时发生错误

错误信息

函数代码打包失败:路径不存在或无读写权限:/Users/dielangli/Desktop/Coding/时光伴笔/时光伴笔_代码/时光伴笔_小程序/cloudfunctions/repair

环境信息

  • 操作系统: Darwin 24.5.0
  • Node.js版本: v23.9.0
  • 系统架构: arm64
  • 时间: 2025-07-13T04:42:36.052Z

工具参数

{
  "func": {
    "name": "repair",
    "runtime": "Nodejs18.15",
    "handler": "repair.main",
    "installDependency": true
  },
  "functionRootPath": "/Users/dielangli/Desktop/Coding/时光伴笔/时光伴笔_代码/时光伴笔_小程序/cloudfunctions",
  "force": true
}

复现步骤

  1. 使用工具: createFunction
  2. 传入参数: [请根据上述参数信息填写]
  3. 出现错误

期望行为

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

其他信息

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

Metadata

Metadata

Assignees

Labels

StalebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions