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
Unable to initialise new project. Fails with: Cannot find name 'Cheerio'. #12593
Comments
Thanks for reporting this @vik-y |
Looks like the issue is with enzyme: Bumping up enzyme to
|
I don't see the issue in master branch, so for me, it's only in v6 |
@pascalgrimaud , Sure, will do that 👍 |
Great quick fix. Worked for me 👍 |
Awesome, this fixed my issue using the web generated version that I created today. Thank you Vikas!! |
Fixed by #12664 |
Overview of the issue
Unable to initialise a new project with react frontend. Initialisation finishes but
./mvnw
fails with an errorMotivation for or Use Case
Initialising a new project
Reproduce the error
Steps
jhipster
commandIt fails with this error
Running
npm run webpack:build
fails this errorTS2304: Cannot find name 'Cheerio'.
To confirm it's not related specifically to my environment I used the docker image to create a project from scratch and faced the same issue
Related issues
NA
Suggest a Fix
NA
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)
git version 2.17.1
node: v12.16.1
npm: 6.14.8
yeoman: 3.1.1
yarn: 1.22.5
The text was updated successfully, but these errors were encountered: