Skip to content

deploy failed #37

@xiangjie256329

Description

@xiangjie256329

git clone https://github.com/tact-lang/tact-template test-template
cd test-template/
yarn
yarn test
yarn build
yarn lint
yarn deploy

then,deploy fail,I didn't change a single line of code:

Uploading package...
/Users/xj/code/defi/games/dst/tact/test-template/node_modules/zod/lib/types.js:43
const error = new ZodError_1.ZodError(ctx.common.issues);
^
ZodError: [
{
"code": "invalid_type",
"expected": "object",
"received": "string",
"path": [],
"message": "Expected object, received string"
}
]
at Object.get error [as error] (/Users/xj/code/defi/games/dst/tact/test-template/node_modules/zod/lib/types.js:43:31)
at ZodObject.parse (/Users/xj/code/defi/games/dst/tact/test-template/node_modules/zod/lib/types.js:143:22)
at fetchBackend (/Users/xj/code/defi/games/dst/tact/test-template/node_modules/@tact-lang/deployer/src/deployer.ts:18:29)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async prepareTactDeployment (/Users/xj/code/defi/games/dst/tact/test-template/node_modules/@tact-lang/deployer/src/deployer.ts:31:19)
at async /Users/xj/code/defi/games/dst/tact/test-template/sources/contract.deploy.ts:21:19 {
issues: [
{
code: 'invalid_type',
expected: 'object',
received: 'string',
path: [],
message: 'Expected object, received string'
}
],
addIssue: [Function (anonymous)],
addIssues: [Function (anonymous)],
errors: [
{
code: 'invalid_type',
expected: 'object',
received: 'string',
path: [],
message: 'Expected object, received string'
}
]
}

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