Reputation: 905
I create a client only project using:
jhipster --skip-server --db mysql --auth jwt
successfully.
Now I want to generate a package (either dev or prod) which I want to deploy to nginx.
Following official guide I issued:
yarn webpack:build:dev
yarn webpack:build:prod
on Windows powershell, however I got the error:
error Command "webpack:build:dev" not found
error Command "webpack:build:prod" not found
How to generate a package manually?
Upvotes: 0
Views: 255
Reputation: 16284
Commands are wrong, check the scripts
section in your project's package.json
, it should be yarn webpack:prod
Upvotes: 1