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

Vite not found in CI/CD pipeline #10327

Closed
7 tasks done
MichaelVidStep opened this issue Oct 3, 2022 · 0 comments
Closed
7 tasks done

Vite not found in CI/CD pipeline #10327

MichaelVidStep opened this issue Oct 3, 2022 · 0 comments

Comments

@MichaelVidStep
Copy link

Describe the bug

I am running my app through a CI/CD pipeline and I'm expecting it to build as normal, but it can't find vite.

I am using Google Cloud Build and I install all packages including dev in a step prior.

Reproduction

N/A

System Info

N/A

Used Package Manager

yarn

Logs

Step #4: Already have image: node:16
Step #4: yarn run v1.19.0
Step #4: $ turbo run build --filter=@vidstep/vidstep-web-app
Step #4: • Packages in scope: @vidstep/vidstep-web-app
Step #4: • Running build in 1 packages
ep #4: @vidstep/vidstep-web-app:build: cache miss, executing 686fe4e4713c805c
Step #4: @vidstep/vidstep-web-app:build: $ tsc && vite build
Step #4: @vidstep/vidstep-web-app:build: /bin/sh: 1: vite: not found
Step #4: @vidstep/vidstep-web-app:build: error Command failed with exit code 127.
Step #4: @vidstep/vidstep-web-app:build: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Step #4:
Step #4: Tasks: 0 successful, 1 total
Step #4: Cached: 0 cached, 1 total
Step #4: Time: 33.034s
Step #4:
Step #4: @vidstep/vidstep-web-app:build: ERROR: command finished with error: command (/workspace/apps/web) yarn run build exited (127)
Step #4: command (/workspace/apps/web) yarn run build exited (127)
Step #4: ERROR run failed: command exited (127)
Step #4: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Step #4: error Command failed with exit code 127.
Finished Step #4
ERROR
ERROR: build step 4 "node:16" failed: step exited with non-zero status: 127

Validations

@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant