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

gateway with react run "mvn -Pdev,webpack" but "node_modules/@types/enzyme/index.d.ts(732,69): [INFO] TS2304: Cannot find name 'Cheerio'." #478

Closed
1 task
jieme198902 opened this issue Oct 12, 2020 · 1 comment

Comments

@jieme198902
Copy link

Overview of the issue
Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
JHipster Registry Version(s)
Browsers and Operating System
  • Checking this box is mandatory (this is just to show you read everything)
@jieme198902 jieme198902 changed the title mvn -Pdev,webpack but "node_modules/@types/enzyme/index.d.ts(732,69): [INFO] TS2304: Cannot find name 'Cheerio'." gateway with react run "mvn -Pdev,webpack" but "node_modules/@types/enzyme/index.d.ts(732,69): [INFO] TS2304: Cannot find name 'Cheerio'." Oct 12, 2020
@ruddell
Copy link
Member

ruddell commented Oct 12, 2020

Fixed in jhipster/generator-jhipster#12664

Workaround until patch release is to update @types/enzyme version in package.json:

"@types/enzyme": "3.10.7",

@ruddell ruddell closed this as completed Oct 12, 2020
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

No branches or pull requests

2 participants