I'm following this documentation to deploy ORO on my local host. https://laptrinhx.com/installing-orocommerce-b2b-application-583947541/
when i execute ''' composer install --prefer-dist ''' this command it gives me the error
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
i have tried all the methods available but nothing's working for me kindly can someone guide me on it?
Please use the official documentation to install the OroCommerce application.
The article you are referring to has a big issue. It proposes to install the app from the master branch that is unstable and updated every day, and therefore it doesn't have the composer.lock file.
Instead of the
master
branch, we recommend installing the latest stable LTS version. Here is the official OroCommerce installation guide.If you follow the above guide, the lock file will be in place as it is provided for all the stable releases.