Skip to content

Commit

Permalink
fix: bump TS version in react script CLI fixture to avoid Yarn 2 inst…
Browse files Browse the repository at this point in the history
…all issue

When Yarn 2 is trying to install and patch TS 3.6 it throws:
➤ YN0013: │ typescript@patch:typescript@npm%3A3.6.5#builtin<compat/typescript>::version=3.6.5&hash=c79188 can't be found in the cache and will be fetched from the disk
➤ YN0001: │ Error: typescript@patch:typescript@npm%3A3.6.5#builtin<compat/typescript>::version=3.6.5&hash=c79188: Cannot apply hunk #5

This is a Yarn 2 related issue, tracked here: yarnpkg/berry#1221
  • Loading branch information
gaetanmaisse committed Apr 26, 2020
1 parent cc6f706 commit be36d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/test/fixtures/react_scripts_ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-scripts": "3.2.0",
"typescript": "3.6.4"
"typescript": "3.8.3"
}
}

0 comments on commit be36d2c

Please sign in to comment.