CentreForDigitalHumanities / cookiecutter-webapp-deluxe

BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Missing frontend package.json #44

Closed lukavdplas closed 1 year ago

lukavdplas commented 1 year ago

To replicate, run the cookiecutter and accept all default options (including the angular frontend).

The script generates a file frontend/package.overwrite.json but not frontend.package.json.

(Because of this, running yarn after installation becomes recursive and never stops running.)

lukavdplas commented 1 year ago

Note: renaming package.overwrite.json to package.json does allow you to install dependencies, though it does not yet result in a working frontend, for reasons beyond me. I got the following error when running yarn start in the frontend.

$ ng serve --proxy-config ../proxy.conf.json
Error: This command is not available when running the Angular CLI outside a workspace.
JeltevanBoheemen commented 1 year ago

Sounds like there were some problems along the way. I had my share of half-finished cookiecutter projects. What's in bootstrap.log?

lukavdplas commented 1 year ago

Ah, I see the problem! The bootstrap script failed because I had node 14.17. I thought I had updated node somewhere before this particular run for the cookiecutter script, but apparently it was afterwards, so the frontend was left unfinished.