Skip to content

Commit

Permalink
fix(typescript-eslint): add a workaround for a bug in Yarn 1.17.3:
Browse files Browse the repository at this point in the history
verbose 8.062 Invariant Violation: could not find a copy of typescript to link in D:\Git\typescript-eslint\node_modules\@typescript-eslint\eslint-plugin\node_modules
    at invariant (C:\Prog\nvm\v10.15.0\node_modules\yarn\lib\cli.js:2314:15)
    at PackageLinker.<anonymous> (C:\Prog\nvm\v10.15.0\node_modules\yarn\lib\cli.js:48680:7)
    at Generator.next (<anonymous>)
    at step (C:\Prog\nvm\v10.15.0\node_modules\yarn\lib\cli.js:304:30)
    at C:\Prog\nvm\v10.15.0\node_modules\yarn\lib\cli.js:315:13
    at process._tickCallback (internal/process/next_tick.js:68:7)
info If you think this is a bug, please open a bug report with the information provided in "D:\\Git\\typescript-eslint\\yarn-error.log".
  • Loading branch information
octogonz committed Aug 9, 2019
1 parent fa70830 commit 7e4480a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/marked": "^0.6.5",
"chalk": "^2.4.2",
"marked": "^0.7.0",
"typescript": "*"
"typescript": ">=3.2.1 <3.6.0"
},
"peerDependencies": {
"@typescript-eslint/parser": "^1.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-estree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"babel-code-frame": "^6.26.0",
"glob": "^7.1.4",
"lodash.isplainobject": "4.0.6",
"typescript": "*"
"typescript": ">=3.2.1 <3.6.0"
},
"peerDependencies": {
"typescript": "*"
Expand Down

0 comments on commit 7e4480a

Please sign in to comment.