I have installed an extension on magento 2.0 on my local server. It works fine there.
Installed same extension on live server and it shows
File "/composer.json" cannot be opened Warning!fopen(/composer.json): failed to open stream: No such file or directory
error when saving the form data to database.