Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Why I Get An Error When Running Cscart-Sdk Commanda?

 
  • bububeti
  • Member
  • Trial users
  • Join Date: 28-Aug 20
  • 24 posts

Posted 09 September 2020 - 09:47 AM #1

I run this command in my console: cscart-sdk addon:export CS-cart_module /root/CS-cart_module /var/www/html/modul-cscart.com/public_html

but I get this output: -bash: cscart-sdk: command not found. I installed it with help from this two links: https://getcomposer..../sdk#installing
I will attache a screenshot with my console


 
  • bububeti
  • Member
  • Trial users
  • Join Date: 28-Aug 20
  • 24 posts

Posted 09 September 2020 - 09:50 AM #2

Edit: this is the second link and the picure. IDk why they are not in the first post: https://github.com/c.../sdk#installing


the picture is not publishing, so this is a copy past of it 

[root@vps82008 ~]# composer global require "cscart/sdk:*"
Changed current directory to /root/.config/composer
Do not run Composer as root/super user! See https://getcomposer.org/rootfor details
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
  - Installing symfony/polyfill-php80 (v1.18.1): Loading from cache
  - Installing psr/log (1.1.3): Loading from cache
  - Installing symfony/debug (v4.4.13): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.18.1): Loading from cache
  - Installing symfony/console (v3.4.44): Loading from cache
  - Installing cscart/sdk (v1.0.0): Loading from cache
    Skipped installation of bin bin/cscart-sdk for package cscart/sdk: name conflicts with an existing file
symfony/polyfill-mbstring suggests installing ext-mbstring (For best performance)
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
Writing lock file
Generating autoload files
4 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
[root@vps82008 ~]# composer validate
Do not run Composer as root/super user! See https://getcomposer.org/rootfor details
./composer.json not found.
[root@vps82008 ~]# cscart-sdk command:name
-bash: cscart-sdk: command not found
[root@vps82008 ~]# cscart-sdk addon:export CS-cart_module /root/CS-cart_module /var/www/html/modul-cscart.com/public_html
-bash: cscart-sdk: command not found
[root@vps82008 ~]# 
 

 



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1352 posts

Posted 09 September 2020 - 01:18 PM #3

Hello

 

On linux console i use this command:

 

scalak@scalak:~/........................../sdk/bin$ ./cscart-sdk addon:symlink ss_prom_vendor ..............

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl, marketplace

We specialize in creating the highest quality addons, safe, useful and flexible