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

Can't build a monorepo, yarn install dependencies gives random errors #2230

Closed
MrCheater opened this issue Jan 31, 2022 · 0 comments
Closed
Assignees
Labels
bug Issues related to defects and incorrect/unexpected feature behavior severity: moderate Issues with medium impact on the product, e.g., new features, non-critical defects, etc.

Comments

@MrCheater
Copy link
Contributor

MrCheater commented Jan 31, 2022

Describe the bug
Can't build a monorepo, yarn install dependencies gives random errors

To Reproduce

  1. rm yarn.lock
  2. yarn
  3. See error
../../../node_modules/@types/react-router-dom/index.d.ts(59,34): error TS2694: Namespace '"/resolve/node_modules/@types/react-router-config/node_modules/history/index"' has no exported member 'LocationState'.
../../../node_modules/@types/react-router-dom/index.d.ts(61,11): error TS2694: Namespace '"/resolve/node_modules/@types/react-router-config/node_modules/history/index"' has no exported member 'LocationDescriptor'.
../../../node_modules/@types/react-router-dom/index.d.ts(61,47): error TS2315: Type 'Location' is not generic.
../../../node_modules/@types/react-router-dom/index.d.ts(61,67): error TS2694: Namespace '"/resolve/node_modules/@types/react-router-config/node_modules/history/index"' has no exported member 'LocationDescriptor'.
../../../node_modules/@types/react-router-dom/index.d.ts(65,28): error TS2694: Namespace '"/resolve/node_modules/@types/react-router-config/node_modules/history/index"' has no exported member 'LocationState'.
../../../node_modules/@types/react-router-dom/index.d.ts(69,29): error TS2694: Namespace '"/resolve/node_modules/@types/react-router-config/node_modules/history/index"' has no exported member 'LocationState'.
../../../node_modules/@types/react-router-dom/index.d.ts(74,37): error TS2694: Namespace '"/resolve/node_modules/@types/react-router-config/node_modules/history/index"' has no exported member 'LocationState'.
../../../node_modules/@types/react-router-dom/index.d.ts(79,103): error TS2315: Type 'Location' is not generic.
../../../node_modules/@types/react-router-dom/index.d.ts(80,16): error TS2315: Type 'Location' is not generic.
../../../node_modules/@types/react-router-dom/index.d.ts(82,31): error TS2694: Namespace '"/resolve/node_modules/@types/react-router-config/node_modules/history/index"' has no exported member 'LocationState'.
../../../node_modules/@types/react-router-dom/index.d.ts(86,32): error TS2694: Namespace '"/resolve/node_modules/@types/react-router-config/node_modules/history/index"' has no exported member 'LocationState'.
  • OS: Ubuntu 20.04
  • Node.js: Version 14.17.5
  • ReSolve: Version 0.33.14

Additional context

@MrCheater MrCheater added bug Issues related to defects and incorrect/unexpected feature behavior severity: moderate Issues with medium impact on the product, e.g., new features, non-critical defects, etc. labels Jan 31, 2022
@MrCheater MrCheater self-assigned this Jan 31, 2022
@MrCheater MrCheater linked a pull request Jan 31, 2022 that will close this issue
MrCheater added a commit that referenced this issue Feb 2, 2022
@MrCheater MrCheater removed a link to a pull request Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to defects and incorrect/unexpected feature behavior severity: moderate Issues with medium impact on the product, e.g., new features, non-critical defects, etc.
Projects
None yet
Development

No branches or pull requests

1 participant