const project = new ci.Project({
appid: '***',
type: 'miniProgram',
projectPath: `${HOUSE_RENTAL_ROOT}/client/dist`,
privateKeyPath: `${HOUSE_RENTAL_ROOT}/client/key/private.key`,
ignores: ['node_modules/**/*'],
})
const result = await ci.cloud.uploadFunction({
project,
env: PROD_CLOUD_ID,
name: 'common',
path: `${HOUSE_RENTAL_ROOT}/cloud/functions`,
remoteNpmInstall: true // 是否云端安装依赖
})
console.log(result, 'result')
报错: