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

Blueprint CI check silently fails on Windows #318

Open
anton-trunov opened this issue May 2, 2024 · 0 comments · May be fixed by #419
Open

Blueprint CI check silently fails on Windows #318

anton-trunov opened this issue May 2, 2024 · 0 comments · May be fixed by #419
Labels
blueprint Blueprint-related things bug Something isn't working ci Continuous Integration os: windows Windows-related things

Comments

@anton-trunov
Copy link
Member

anton-trunov commented May 2, 2024

See this GH Actions run: https://github.com/tact-lang/tact/actions/runs/8926117589/job/24516413476?pr=317

Here is the relevant part of the log:

Error: Command failed: yarn exec blueprint -- create Counter --type tact-counter
    at checkExecSyncError (node:child_process:890:11)
    at execSync (node:child_process:962:15)
    at main (C:\Users\runneradmin\AppData\Local\Yarn\Data\global\node_modules\create-ton\dist\cli.js:116:34) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 5616,
  stdout: null,
  stderr: null
}

Here is the full output:

  yarn create ton -- test-project --type tact-counter --contractName Counter
  cd test-project
  yarn link @tact-lang/compiler
  yarn build
  yarn test
  yarn tact --version
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
yarn create v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
      - create-ton


[1/3] Copying files...
[2/3] Installing dependencies...

yarn install v1.22.22
warning package.json: No license field
info No lockfile found.
warning [email protected]: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 22.84s.

[3/3] Creating your first contract...
yarn exec v1.22.22
warning package.json: No license field
error Couldn't find the binary blueprint
info Visit https://yarnpkg.com/en/docs/cli/exec for documentation about this command.
Error: Command failed: yarn exec blueprint -- create Counter --type tact-counter
    at checkExecSyncError (node:child_process:890:11)
    at execSync (node:child_process:962:15)
    at main (C:\Users\runneradmin\AppData\Local\Yarn\Data\global\node_modules\create-ton\dist\cli.js:116:34) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 5616,
  stdout: null,
  stderr: null
}
Done in 29.38s.
yarn link v1.22.22
warning package.json: No license field
success Using linked package for "@tact-lang/compiler".
Done in 0.25s.
yarn run v1.22.22
warning package.json: No license field
$ blueprint build
[Error: ENOENT: no such file or directory, scandir 'D:\a\tact\tact\test-project\wrappers'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'scandir',
  path: 'D:\\a\\tact\\tact\\test-project\\wrappers'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.22
warning package.json: No license field
$ jest --verbose
No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In D:\a\tact\tact\test-project
  3 files checked.
  testMatch: **/__tests__/**/*.[jt]s?(x), **/?(*.)+(spec|test).[tj]s?(x) - 0 matches
  testPathIgnorePatterns: \\node_modules\\, \\dist\\ - 3 matches
  testRegex:  - 0 matches
Pattern:  - 0 matches
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.22
warning package.json: No license field
$ D:\a\tact\tact\test-project\node_modules\.bin\tact --version
1.2.0
Done in 0.59s.
@anton-trunov anton-trunov added bug Something isn't working ci Continuous Integration os: windows Windows-related things blueprint Blueprint-related things labels May 2, 2024
@anton-trunov anton-trunov changed the title Blueprint CI check fails on Windows Blueprint CI check silently fails on Windows Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blueprint Blueprint-related things bug Something isn't working ci Continuous Integration os: windows Windows-related things
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant