Generate failed due to missing composer.json

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
marisoft
User
Posts: 215

Generate failed due to missing composer.json

Post by marisoft »

Hello,

Out of 25 projects running on same server that I regenerate to latest build of v2024 one fails with this message:

All files generated (0,574 seconds)
Running composer update -n --ansi...
Composer could not find a composer.json file in D:\wamp64\www\sr\databaser\sejladsrapport_dss24
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage
node:internal/errors:932
const err = new Error(message);
^
Error: Command failed: composer update -n --ansi

What to do?

tia

/Poul


arbei
User
Posts: 9532

Post by arbei »

marisoft wrote:

Composer could not find a composer.json file

Make sure you generate all files again.


marisoft
User
Posts: 215

Post by marisoft »

Thanks, I had tried that.

The solution was to tick "Clear project folder first".


Post Reply