Both yarn and npm may be used in order to compute and install node dependencies. Yarn is our selected package manager, as demonstrated in the docker-compose.yml file where it's used.
Npm should therefore not be used, and the lock file for npm should not be provided.
Scenarios
While running the installation after cloning, the yarn install script returns the following warning:
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
Description
Both yarn and npm may be used in order to compute and install node dependencies. Yarn is our selected package manager, as demonstrated in the
docker-compose.yml
file where it's used. Npm should therefore not be used, and the lock file for npm should not be provided.Scenarios
While running the installation after cloning, the yarn install script returns the following warning:
The package-lock.json should therefore be removed altogether.