Skip to main content
edited tags
Link
sv3n
  • 11.7k
  • 7
  • 44
  • 75
added 1 character in body; edited tags
Source Link
Prince Patel
  • 23.1k
  • 10
  • 102
  • 124

I'm trying to install Tawk.to chat in my Magento 2.1.9 shopping site hosted on a cPanel shared server environment. And I downloaded the extension files following the guidelines are given here:

https://www.tawk.to/knowledgebase/plugins-and-modules/magento-2-integration/ 

https://www.tawk.to/knowledgebase/plugins-and-modules/magento-2-integration/

I learntlearned from online resources that the issue might be in composer.jsoncomposer.json file. Some tutorials suggest setting minimum stability to -dev. But my composer.json file doesn't even have minimum stability setting, as shown in the code below:

http://webtips.krajee.com/setting-composer-minimum-stability-application/ 

http://webtips.krajee.com/setting-composer-minimum-stability-application/

https://igor.io/2013/02/07/composer-stability-flags.html 

https://igor.io/2013/02/07/composer-stability-flags.html

I'm trying to install Tawk.to chat in my Magento 2.1.9 shopping site hosted on a cPanel shared server environment. And I downloaded the extension files following the guidelines given here:

https://www.tawk.to/knowledgebase/plugins-and-modules/magento-2-integration/ 

I learnt from online resources that the issue might be in composer.json file. Some tutorials suggest setting minimum stability to -dev. But my composer.json file doesn't even have minimum stability setting, as shown in the code below:

http://webtips.krajee.com/setting-composer-minimum-stability-application/ 
https://igor.io/2013/02/07/composer-stability-flags.html 

I'm trying to install Tawk.to chat in my Magento 2.1.9 shopping site hosted on a cPanel shared server environment. And I downloaded the extension files following the guidelines are given here:

https://www.tawk.to/knowledgebase/plugins-and-modules/magento-2-integration/

I learned from online resources that the issue might be in composer.json file. Some tutorials suggest setting minimum stability to -dev. But my composer.json file doesn't even have minimum stability setting, as shown in the code below:

http://webtips.krajee.com/setting-composer-minimum-stability-application/

https://igor.io/2013/02/07/composer-stability-flags.html

Source Link
Justin
  • 45
  • 2
  • 10

Magento 2 Composer Error While Installing Tawk.to extension

I'm trying to install Tawk.to chat in my Magento 2.1.9 shopping site hosted on a cPanel shared server environment. And I downloaded the extension files following the guidelines given here:

https://www.tawk.to/knowledgebase/plugins-and-modules/magento-2-integration/ 

After extracting and copying the files to the root directory of my website, I requested my web host to run the needed command lines. After that my site went blank, and I when I inquired from the hosting provider, I was informed that the process was halted, because of an error message that displayed:

=========================================== [root@sixteen public_html]# php composer.phar require tawk/widget Authentication required (repo.magento.com): Username: my_magento_public_key Password: my_magento_private_key Do you want to store credentials for repo.magento.com in /root/.composer/auth.json ? [Yn] y [InvalidArgumentException] Could not find package tawk/widget at any version for your minimum-stability (alpha). Check the package spelling or your minimum-stability require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]... ========================================== 

I learnt from online resources that the issue might be in composer.json file. Some tutorials suggest setting minimum stability to -dev. But my composer.json file doesn't even have minimum stability setting, as shown in the code below:

{ "name": "tawk/widget", "description": "Tawk live chat widget", "type": "magento2-module", "version": "1.0.0", "license": [ "OSL-3.0" ], "require": { "php": "~5.6.0|7.0.2|7.0.4|~7.0.12" }, "autoload": { "files": [ "registration.php" ], "psr-4": { "Tawk\\Widget\\": "" } } } 

This article suggests setting minimum stability and using stability flags:

http://webtips.krajee.com/setting-composer-minimum-stability-application/ 

and this article too:

https://igor.io/2013/02/07/composer-stability-flags.html 

Does anyone know how to put it all together in my composer.json, to fix this minimum stability error?

Thanks for your time and insight in advance.