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

fix: correct ts-node-dev transpile-only option #272

Merged
merged 1 commit into from
Jul 16, 2020
Merged

Conversation

kylerwsm
Copy link
Contributor

Problem

In development, the current transpileOnly ts-node option we are using with ts-node-dev is flagged as a bad option.

Specifically, running the server-dev script throws the following error:

app_1         | [0] Using ts-node version 8.10.2, typescript version 3.9.6
app_1         | [0] /usr/local/bin/node: bad option: --transpileOnly

Solution

The solution which worked for me requires changing the transpileOnly option to transpile-only, which is the supported syntax to enable TypeScript transpile only option in ts-node.

@liangyuanruo liangyuanruo merged commit 4bf6c9d into develop Jul 16, 2020
@LoneRifle LoneRifle deleted the server-dev-fix branch August 12, 2020 10:19
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