After creating a JHipster project, I get the following message:
Spring Boot application generated successfully.
Run your Spring Boot application:
./mvnw (mvnw if using Windows Command Prompt)
When I run ./mvnw, I get a build successful message, but nothing happens. So I tried running npm start, but I get this error:
npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
The only start I have in my package.json is "app:start": "./mvnw", so I don't know if I need to add this the start script to my package.json, and if I do, I don't know what it should be pointing to. Any help?
node -v
. I don't know how you generated your project, but if you look at the sample project, itspackage.json
has astart
script github.com/jhipster/jhipster-sample-app/blob/main/…npm install
in it because you did not generate the project.