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

Command tsc not found #3

Open
Ne-Lexa opened this issue Feb 9, 2024 · 1 comment
Open

Command tsc not found #3

Ne-Lexa opened this issue Feb 9, 2024 · 1 comment

Comments

@Ne-Lexa
Copy link

Ne-Lexa commented Feb 9, 2024

When building a project through Docker I get an error Command "tsc" not found

Log:

 => CACHED [mock_helius dependencies 5/7] RUN yarn install --production --pure-lockfile --non-interactive --cache-folder ./ycache; rm -rf ./ycache  0.0s
 => CACHED [mock_helius dependencies 6/7] COPY src/ src/                                                                                        0.0s
 => ERROR [mock_helius dependencies 7/7] RUN yarn build                                                                                         0.4s
------
 > [mock_helius dependencies 7/7] RUN yarn build:
0.171 yarn run v1.22.18
0.187 $ yarn run tsc
0.300 error Command "tsc" not found.
0.300 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@Ne-Lexa
Copy link
Author

Ne-Lexa commented Feb 9, 2024

This is probably because of the --production argument in yarn install.

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

1 participant