Skip to content

Commit

Permalink
Node v12
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher committed Mar 25, 2021
1 parent eab1616 commit e6cffe8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions run2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
set -x

# Install a specific version of node
# nvm 12.16.1
n 12.16.1

git clone https://github.com/code-asher/ts-node-repro
cd ts-node-repro

yarn

# Doesn't work (on v12).
yarn ts-node index.ts
code=$?

# Should work.
yarn add ts-node@9.0.0
yarn ts-node index.ts

echo "Process exited with code: $?"
echo
echo
exit $code

0 comments on commit e6cffe8

Please sign in to comment.