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

CLI - asc should not be assumed globally available when running local build strategy #1382

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

pileks
Copy link
Contributor

@pileks pileks commented Nov 2, 2022

While running tests, I noticed that the local build strategy was failing to build, giving me an output of asc not found.

Looking into local.sh I found out that the default build script assumes that asc is present as a global command (e.g. npm i -g typescript), whereas my setup did not have this.

I have changed the script to assume that TS is present locally (yarn should take care of that) and switched to running it using npx asc...

Let me know if this is something we don't want to have.

@pileks pileks added this to the origin-qa milestone Nov 2, 2022
@dOrgJelli
Copy link
Contributor

Using npx makes sense to me, since it will resolve local & global installs (in that order).

@dOrgJelli dOrgJelli merged commit 252e406 into origin-0.10-dev Nov 2, 2022
@dOrgJelli dOrgJelli deleted the pileks/patch/build-relies-on-global-asc branch April 10, 2023 17:02
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

Successfully merging this pull request may close these issues.

2 participants