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

This is not the tsc command you are looking for error in docker build #702

Closed
adrienjoly opened this issue Aug 31, 2023 · 0 comments
Closed
Labels

Comments

@adrienjoly
Copy link
Member

Describe the bug

#17 [stage-1 6/7] RUN npm run build
#17 0.793 
#17 0.793 > openwhyd@1.55.54 build
#17 0.793 > scripts/transpile-bookmarklet.sh
#17 0.793 
#17 2.461 
#17 2.462 
#17 2.462                 This is not the tsc command you are looking for                
#17 2.462 
#17 2.463 
#17 2.463 To get access to the TypeScript compiler, tsc, from the command line either:
#17 2.463 
#17 2.463 - Use npm install typescript to first add TypeScript to your project before using npx
#17 2.463 - Use yarn to avoid accidentally running code from un-installed packages
#17 4.533 public/js/bookmarklet.js 325ms
#17 4.570 npm notice 
#17 4.570 npm notice New minor version of npm available! 9.6.7 -> 9.8.1
#17 4.570 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#17 4.570 npm notice Run `npm install -g npm@9.8.1` to update!
#17 4.571 npm notice 
#17 DONE 4.6s

cf https://github.com/openwhyd/openwhyd/actions/runs/6036078987/job/16377692836#step:3:757

@adrienjoly adrienjoly added the bug label Aug 31, 2023
adrienjoly added a commit that referenced this issue Aug 31, 2023
cf https://github.com/openwhyd/openwhyd/actions/runs/6036078987/job/16377692836#step:3:757

...by specifying the package where `tsc` can be found, to `npx`.

=> instead of updating the `npx` command in `docs/hexagonal-architecture-migration.md`, we provide links to PRs #563 and #662.

contributes to #702.
adrienjoly pushed a commit that referenced this issue Aug 31, 2023
## [1.55.57](v1.55.56...v1.55.57) (2023-08-31)

### Bug Fixes

* **build:** prevent `This is not the tsc command you are looking for` ([71cefd4](71cefd4)), closes [#563](#563) [#662](#662) [#702](#702)
* **docker:** `This is not the tsc command you are looking for` ([80a542d](80a542d)), closes [#702](#702)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant