This is an existing issue with nopCommerce. We tried to do this several times but every time it fails. When you try to install nopCommerce on an existing database, it never installs. We need to do that manually by providing existing database connection string in dataSettings.json file under App_Data.
Hope this would help you.