Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy failed #37

Open
xiangjie256329 opened this issue Nov 11, 2024 · 2 comments
Open

deploy failed #37

xiangjie256329 opened this issue Nov 11, 2024 · 2 comments

Comments

@xiangjie256329
Copy link

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'
}
]
}

@Nik20f
Copy link

Nik20f commented Nov 11, 2024

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"
"naim.4:{354565.88.7} =36/85/(www.vork.)
"Yong.4:{354565.88.8} =36/85 www/000
"sudo apt-get update
"sudo apt-get install -y build-essential git cmake ninja-build zlid1g-dev"

@HaloLyyL
Copy link

I got the same problem,are you fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants