Giter Club home page Giter Club logo

salla-cli's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

salla-cli's Issues

bug:

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543

Expected Behavior

https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543

Steps to Reproduce

https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543

Code Reproduction URL

https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543

Salla Info

https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543

Additional Information

https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543

bug: i couldn't open theme preview

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

when am trying to open the preview by run command salla theme p i got this error

`
ERROR The CLI failed to request preview for the Theme. Try again later.
Error: The CLI failed to request preview for the Theme. Try again later.

ERROR Error: The CLI failed to request preview for the Theme. Try again later.
`

Expected Behavior

it should work and open the theme preview

Steps to Reproduce

  • salla login
  • salla theme p

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 1.4.62
npm version: 10.1.0
node version: v20.9.0
'php' is not recognized as an internal or external command,
operable program or batch file.

ERROR Error: Command failed: php -v
'php' is not recognized as an internal or external command,
operable program or batch file.

Additional Information

No response

bug: Whenever creating a store in Salla CLI , it doesn't create .

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

When I create a demo store using this command : salla store create
It asks me for the name of the demo store and pass , After I fill them ,this what appears
⠴ Creating your demo store in Salla ...

💻 As always, Happy Coding! 💻

I then write this command to show store lists : salla store list
but it is giving me this output :
WARN You don't have any stores yet. Create one by executing the following command: salla store create
as If I haven't create anything

Expected Behavior

I expect to find the list of my stores that I have created previously , Because Whenever I want to preview my theme it is telling my that I don't have a store

Steps to Reproduce

..

Code Reproduction URL

No response

Salla Info

version: 1.4.60
npm version: 9.7.2
node version: v20.4.0
php version: 8.1.5
os: win32
os version: 10.0.22621
user id: 1330167902
uuid: 9DB78236-7F38-4340-9609-5D5FD6C7BB5F

Additional Information

No response

no npm found

once i try to run the command a [no npm found ] will pop up

<!--

Software versions

  • Tedious:
  • SQL Server:
  • Node.js:

Additional Libraries Used and Versions

Table schema

Connection configuration
// Paste your connection config here.

Problem description

Expected behavior

Actual behavior

Error message/stack trace

Any other details that can be helpful

Originally posted by @Berro8 in tediousjs/tedious#1593

Salla create theme , import from github

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

image

Expected Behavior

I need clearable steps to import theme HTML theme from Github to Salla

Steps to Reproduce

I need clearable steps to import theme HTML theme from Github to Salla

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 1.4.61
npm version: 9.5.0
node version: v18.14.2
'php' is not recognized as an internal or external command,
operable program or batch file.

ERROR Error: Command failed: php -v
'php' is not recognized as an internal or external command,
operable program or batch file.

Additional Information

No response

bug: Theme creation always returns `Failed to create repository, it may be already exists`

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

Hello,

Regardless of the name or description that I put for a theme, I am always presented this message.
It appears on both CLI and browser using the developer portal.

image

Expected Behavior

if the repository has been created, it should show in either the portal or under my themes, and if not, the CLI should create a theme boiler plate code for me to start working

Steps to Reproduce

  1. salla theme create
  2. choose an orginization to work on
  3. enter all required information
  4. After entering the email part you are presented with this message

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 1.4.60
npm version: 8.15.0
node version: v16.17.0
'php' is not recognized as an internal or external command,
operable program or batch file.

ERROR Error: Command failed: php -v
'php' is not recognized as an internal or external command,
operable program or batch file.

Additional Information

No response

bug: TypeError: a.prompt is not a function

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

When I run the npx salla theme preview command, the CLI displays an error message and fails to request a preview for the theme. The specific error message reads: The CLI failed to request preview for the Theme. Try again later. TypeError: a.prompt is not a function.

Expected Behavior

I expected the salla theme preview command to build and deploy my Salla Store Theme locally and provide a preview URL where I could see and interact with the theme in a web browser.

Steps to Reproduce

  1. Open a terminal window.
  2. Navigate to the directory where my Salla Store Theme project is located.
  3. Run the command npx salla theme preview.
  4. Observe the output in the terminal, including the error message.
  5. Attempt to access the provided preview URL in a web browser, but the URL is not accessible and the theme is not displayed.

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 3.2.0       
npm version: 8.19.2
node version: v18.12.1
'php' is not recognized as an internal or external command,
operable program or batch file.

 ERROR  Error: Command failed: php -v
'php' is not recognized as an internal or external command,
operable program or batch file.

Additional Information

> npx salla theme preview

        _____       _ _          _____ _      _____ 
       / ____|     | | |        / ____| |    |_   _|
      | (___   __ _| | | __ _  | |    | |      | |  
       \___ \ / _` | | |/ _` | | |    | |      | |  
       ____) | (_| | | | (_| | | |____| |____ _| |_ 
      |_____/ \__,_|_|_|\__,_|  \_____|______|_____|
    
                     Version: 3.2.0
        The Official Salla Command Line Interface

 INFO  Read the docs: https://github.com/SallaApp/Salla-CLI/ 
 INFO  Support and bugs: https://github.com/SallaApp/Salla-CLI/issues 

 INFO  run checks: 
     ✓ twilight.json was found.
     ✓ Github account is linked.
     ✓ Theme ID exists.
     ✓ The theme folder is linked to GitHub repository.

 INFO  Getting your demo stores from your account...

Listed below are the stores assoicated with your Salla Partners account ..
You can either select an existing store or create a new store in simple steps

 ERROR  The CLI failed to request preview for the Theme. Try again later.
TypeError: a.prompt is not a function

 ERROR  Error: The CLI failed to request preview for the Theme. Try again later.

 WARN  If this error persists, please visit https://github.com/SallaApp/salla-cli/issues and submit an issue.

bug: Error on previewing theme

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

It was working just fine but i think i committed to github from VS Code or something, after it keep throwing this error whenever i try to preview theme.

` WARN Tag 1.0.16 already exists
WARN Authorization Error:
ERROR Tag 1.0.16 already exists
ERROR The CLI failed to request preview for the Theme. Try again later.
Error: The CLI failed to request preview for the Theme. Try again later.

ERROR Error: The CLI failed to request preview for the Theme. Try again later.
`

Expected Behavior

Should preview.

Steps to Reproduce

Preview theme

Code Reproduction URL

No response

Salla Info

version: 3.2.1
npm version: 9.5.0
node version: v18.14.2
php version: 8.2.9
os: darwin
os version: 22.1.0
user id: 210017680
uuid: A2656077-F8BB-4EF1-AE0B-E2665389AF83

Additional Information

No response

bug: An error occured while making the request to create the Theme.

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

When i try to create a new theme for a github organization I am getting this error : Error: Oops! An error occured while making the request to create the Theme.

Expected Behavior

Theme get created

Steps to Reproduce

  1. Link a salla partner account to a github organization
  2. login to the account from salla cli
  3. run : salla theme create
  4. follow Cli instructions

Code Reproduction URL

No response

Salla Info

salla cli version: 3.2.1
npm version: 9.7.1
node version: v18.17.0

Additional Information

No response

bug: Stuck on Authentication

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

When I try to login through command line salla login or any other command like salla theme preview, it takes me to the browser, I login, get the prompt that it was successfully authenticated but when I return to terminal, its stuck on
Waiting for authentication ...
then I get

INFO To complete the login process, you will be redirected to your browser to signin with your Salla Partners account.

WARN ⌛ Timeout reached, please try again.

WARN If this error persists, please visit https://github.com/SallaApp/salla-cli/issues and submit an issue.

Expected Behavior

It logs in

Steps to Reproduce

type salla login

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 1.4.57
npm version: 9.5.0
node version: v18.15.0
php version: PHP
os: darwin
os version: 20.6.0
user id:
uuid:

Additional Information

No response

bug: CLI fails to create app

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

After finishing my profile setup and logging in via salla login

Following salla's documentation by creating an application through the online wizard

I'm getting the following error when creating a new application in the terminal

Both command line and terminal are returning the same error

image

Expected Behavior

Create a new application boilerplate

Steps to Reproduce

Simply just create a new app via salla app create

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 3.2.0
npm version: 9.8.1
node version: v18.17.0
php version: 8.2.4
os: win32
os version: 10.0.22621
user id: 2007218996
uuid: 8A69DE79-8D5F-4798-AAAB-74D661F8827F

Additional Information

I'm using Windows 11

### Prerequisites

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

When i try to create a new theme for a github organization I am getting this error : Error: Oops! An error occured while making the request to create the Theme.

Expected Behavior

Theme get created

Steps to Reproduce

  1. Link a salla partner account to a github organization
  2. login to the account from salla cli
  3. run : salla theme create
  4. follow Cli instructions

Code Reproduction URL

No response

Salla Info

salla cli version: 3.2.1
npm version: 9.7.1
node version: v18.17.0

Additional Information

No response

_Originally posted by @aimdexter in https://github.com/SallaApp/Salla-CLI/issues/33_[]()

Originally posted by @medoasiri in https://github.com/medoasiri/n/issues/2

bug: TypeError: Cannot read properties of undefined (reading 'body')

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

Unable to execute the salla app serve --port 8081.
image

Expected Behavior

It should execute the cli command.

Steps to Reproduce

After installation just run the serve command salla app server --port 8081

Code Reproduction URL

No response

Salla Info

salla app serve --port 8081
image

Additional Information

No response

bug: sallatheme

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

A first-level heading

A second-level heading

A third-level heading

Expected Behavior

README.md

Steps to Reproduce

README.md

Code Reproduction URL

https://github.com/Al-Ashger/ffff

Salla Info

{"salla":{"access_token":"SP_AawMWdvdoGLk9VArgdU2zVE7kv2AP39YDYpKcY9P9EQId0k6rltFu","lastCheck":1703434943.529,"user":{"id":1413618154,"first_name":"Mohammad","last_name":"Alrazmy","type":"person","email":"[email protected]","mobile_code":null,"mobile_country_code":null,"mobile":null,"verified":true,"id_verified":true,"id_require_update":false,"two_factor":false,"role":"company-admin","token":"SP_AawMWdvdoGLk9VArgdU2zVE7kv2AP39YDYpKcY9P9EQId0k6rltFu","language":"ar","status":{},"created_at":"2023-08-17T23:46:15.000000Z","updated_at":"2023-12-15T12:11:44.000000Z","is_admin":false,"is_owner":true,"is_test":false,"github_authorized":true,"is_frozen":false,"force_id_verification":false,"private_apps_limit":1,"disable_private_apps":false,"tax_number":null,"permissions":["Create App","show-dashboard","manage-apps","manage-demo-stores","manage-coupons","manage-company-settings","manage-tax-number","manage-id-verification","manage-payment-methods","manage-payouts","manage-webhook-logs","manage-themes","manage-faq","manage-support","manage-employees","manage-reports","manage-invoices","manage-development-stores","manage-services","services-create","services-update","services-delete","manage-orders","manage-security","manage-settings","services-preview","manage-notifications-center","manage-development-stores"],"is_theme_allowed":true,"bio":{"ar":null,"en":null},"github_user":{"login":"Al-Ashger","id":91567380,"avatar_url":"https://avatars.githubusercontent.com/u/91567380?v=4","url":"https://api.github.com/users/Al-Ashger","name":null,"email":null},"company":{"id":448487207,"name":"Mohammad Alrazmy","email":"[email protected]","tax_number":null,"street_name":null,"house_number":null,"post_code":null,"mobile_code":null,"mobile_country_code":null,"mobile":null,"is_test":false,"created_at":"2023-08-17T23:46:15.000000Z","updated_at":"2023-12-22T16:22:22.000000Z","bio":{"ar":null,"en":null},"country":null,"city":null,"avatar":null},"avatar":null}},"github":{},"uuid":"d860d3c5-e5b0-4299-9133-8cb998d9a182","vscode_extension_installed":"installed"}

Additional Information

No response

استفسار

هل هذه الخدمه تكمنني من ربط  api
آخر و الشراء و البيع تلقائي ؟

bug: The Theme was not created

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

Failed to create repository, it may be already exists or you are using organization github account.

Expected Behavior

Failed to create repository, it may be already exists or you are using organization github account.

Steps to Reproduce

Failed to create repository, it may be already exists or you are using organization github account.

Code Reproduction URL

No response

Salla Info

Failed to create repository, it may be already exists or you are using organization github account.

Additional Information

Failed to create repository, it may be already exists or you are using organization github account.

bug: Preview Salla theme with editor shows 500 page Error!

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

Just when i preview theme without editor it works great
But with Salla editor it shows 500 Error page : 500
💔 IT'S ME, NOT YOU

Expected Behavior

shows the all components in the editor and the page

Steps to Reproduce

Just fix it

Code Reproduction URL

No response

Salla Info

version: 3.2.1
npm version: 9.8.0
node version: v20.5.0
php version: 8.2.10
os: win32
os version: 10.0.19045
user id: 1908693027
uuid: 58927197-C79C-4042-9C91-80CE2963F10E

Additional Information

No response

abug: An error can't login using salla login command #42

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

image

Expected Behavior

login to salla partners to mange primary operations

Steps to Reproduce

salla login or npx salla login

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 3.2.1
npm version: 10.1.0
node version: v20.9.0
php version: 8.1.13
os: win32
os version: 10.0.19045
user id:
uuid:

Additional Information

No response

bug: The node_modules folder is not found.

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

PS G:\corsess\salla\1febtheme-master> salla theme p

    _____       _ _          _____ _      _____
   / ____|     | | |        / ____| |    |_   _|
  | (___   __ _| | | __ _  | |    | |      | |
   \___ \ / _` | | |/ _` | | |    | |      | |
   ____) | (_| | | | (_| | | |____| |____ _| |_
  |_____/ \__,_|_|_|\__,_|  \_____|______|_____|

                 Version: 3.2.1
    The Official Salla Command Line Interface

INFO Read the docs: https://github.com/SallaApp/Salla-CLI/
INFO Support and bugs: https://github.com/SallaApp/Salla-CLI/issues

ERROR The CLI failed to request preview for the Theme. Try again later.
Oops! The node_modules folder is not found. Please run npm install

ERROR Error: The CLI failed to request preview for the Theme. Try again later.

WARN If this error persists, please visit https://github.com/SallaApp/salla-cli/issues and submit an issue.
PS G:\corsess\salla\1febtheme-master>

Expected Behavior

.

Steps to Reproduce

.

Code Reproduction URL

No response

Salla Info

previewing theme

Additional Information

No response

bug: CLI Create Theme command | AxiosError: timeout of 20000ms exceeded

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

The CLI hangs when creating a theme, the repo gets initialized on my GitHub repo but CLI is not reflecting.
image

Expected Behavior

Complete the CLI theme-creating process.

Steps to Reproduce

  • install salla-cli
npm install @salla.sa/cli -g
  • create theme using salla-cli
salla theme create
  • choose to create the theme and fill in theme information and hit Enter

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 1.4.34
npm version: 8.19.2
node version: v18.12.0
php version: 8.1.12
os: win32
os version: 10.0.19044
user id: 126996450
uuid: 1657356D-BD81-494B-BACC-F86C20D7EAE3

Additional Information

No response

bug: Not able to crate a webhook using Salla CLI

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

The create webhook command is not working for me.

$ salla app create-webhook app.installed

this command gives below error

ERROR Error: Oops! An error occured. Please enter a valid webhook name. Example: 'app.installed'

Expected Behavior

The command should install a ebhook

Steps to Reproduce

$ salla app create-webhook app.installed
image

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 3.2.1
npm version: 10.2.3
node version: v20.10.0
php version: 7.2.34
os: win32
os version: 10.0.22621
user id: 856923266
uuid: 0FA48B9F-5FFA-4C27-8296-9F923915C333

Additional Information

No response

bug: Can't install Salla CLI

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

I have installed the latest versions of npm, nodejs, php and composer, then tried to install Salla CLI, but it gives me an error:
Error

After I give it a permission it got stuck downloading:
Errorstuck

Expected Behavior

Installed without any problem.

Steps to Reproduce

Run this command:
sudo npm install @salla.sa/cli -g

Code Reproduction URL

https://salla.dev/blog/meet-salla-cli/error/not-found, this link doesn't work

Salla Info

Salla is not installed.

Additional Information

  • OS: Linux EndeavourOS (Arch)
  • Kernel: 6.6.1-arch1-1-g14

bug: can't instal cL

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

Welcome - salla - Visual Studio Code 09_04_45 11_04_25 م

I did not know how to open the file in the terminal, so I opened the file on vscode and put the CLI install command : "npm install @salla.sa/cli -g"and this message that appeared to me

Expected Behavior

CLI download process is completed successfully

Steps to Reproduce

..

Code Reproduction URL

No response

Salla Info

i didnt have

Additional Information

.

mahalk

متجر بيع بالتجزئة متنوع منخفض التكلفة ومتخصص في السلع المنزلية والاستهلاكية بما في ذلك مستحضرات التجميل والأدوات المكتبية والألعاب وأدوات المطبخ

abug: An error can't login using salla login command

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

Screenshot_45

Expected Behavior

login to salla partners to mange primary operations

Steps to Reproduce

salla login or npx salla login
Screenshot_46

Code Reproduction URL

No response

Salla Info

version: 3.2.1
npm version: 9.5.1
node version: v18.16.0
php version: 8.2.4
os: win32
os version: 10.0.14393
user id:
uuid:

Additional Information

No response

bug: cann`t serve the app

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

Screenshot from 2023-05-16 12-36-29

Expected Behavior

serve successfully

Steps to Reproduce

create app
then choose express not php

Code Reproduction URL

No response

Salla Info

Screenshot from 2023-05-16 12-39-07

but install via express not php

Additional Information

No response

Can't create theme there isn't My Theme Link in nav menu

Hi,

I'm trying to create theme but when i start creating theme cli ask me to connect my account to github and redirect me to salla partners dashboard and as docs says i should have My Theme link in the main navigation menu but i don't have that link in my cp.

Salla Info:
version: 1.4.35
npm version: 8.19.1
node version: v18.9.0
php version: 7.4.32
os: linux
os version: 5.10.0-19-amd64

bug: Github account is not linked

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

When I attempt to create theme using salla-cli salla theme create I get the following error
image

even though I have been logged in using salla cli and my account is linked to github properly
image

Expected Behavior

I should be able to create a theme and start coding right away

Steps to Reproduce

attempt to create new theme using salla cli

Code Reproduction URL

No response

Salla Info

C:\laragon\www
λ salla info

[Salla info]

version: 1.4.56
npm version: 8.18.0
node version: v18.8.0
php version: 8.1.10
os: win32
os version: 10.0.19045
user id:
uuid: 61DE5869-29ED-47D0-89FA-1BDF03B1858F

C:\laragon\www
λ

Additional Information

No response

bug: .github/workflows/build-assets.yaml: No jobs were run

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

Theme

Current Behavior

Everytime i preview on local machine using CLI and everytime i make changes in Salla partners theme page i get these emails from github, .github/workflows/build-assets.yaml: No jobs were run and it doesn't sync with local machine when i preview again it gives error that tag already exists.

Expected Behavior

It shouldn't throw error and should sync with local.

Steps to Reproduce

make changes in theme in partner area.

Code Reproduction URL

No response

Salla Info

version: 3.2.1
npm version: 9.5.0
node version: v18.14.2
php version: 8.2.9
os: darwin
os version: 22.1.0
user id: 210017680
uuid: A2656077-F8BB-4EF1-AE0B-E2665389AF83

Additional Information

No response

hello i have proplem

$ salla theme p

    _____       _ _          _____ _      _____
   / ____|     | | |        / ____| |    |_   _|
  | (___   __ _| | | __ _  | |    | |      | |
   \___ \ / _` | | |/ _` | | |    | |      | |
   ____) | (_| | | | (_| | | |____| |____ _| |_
  |_____/ \__,_|_|_|\__,_|  \_____|______|_____|

                 Version: 1.4.57
    The Official Salla Command Line Interface

INFO Read the docs: https://github.com/SallaApp/Salla-CLI/
INFO Support and bugs: https://github.com/SallaApp/Salla-CLI/issues

INFO run checks:
✓ twilight.json was found.
✓ Github account is linked.
✓ Theme ID exists.
✓ The theme folder is linked to GitHub repository.

INFO Getting your demo stores from your account...

Listed below are the stores assoicated with your Salla Partners account ..
You can either select an existing store or create a new store in simple steps

? Select the store you want to install the theme on: (Use arrow keys)
? Select the store you want to install the theme on: متجريي

INFO Assets URL : http://localhost:8004
INFO Live reload URL : ws://localhost:8005

DONE Hooray! WebSocket & Assets servers are currently running.

You can skip this question by adding --with-editor

? Do you want to open the theme in the editor? » no
√ Do you want to open the theme in the editor? · no

WARN Tag 1.0.9 already exists
WARN Authorization Error:
ERROR Tag 1.0.9 already exists
ERROR The CLI failed to request preview for the Theme. Try again later.
Error: The CLI failed to request preview for the Theme. Try again later.

ERROR Error: The CLI failed to request preview for the Theme. Try again later.

WARN If this error persists, please visit https://github.com/SallaApp/salla-cli/issues and submit an issue.

لقطة الشاشة 2023-04-09 093330

[docs]: endpoint url error

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

image

@ webhooks#register-endpoint-1

404 Not Found
{
  "status": 404,
  "success": false,
  "error": {
    "code": "error",
    "message": ""
  }
}

Expected Behavior

null

Steps to Reproduce

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 3.2.1
npm version: 9.7.2
node version: v18.6.0
php version: 8.2.8
os: win32
os version: 10.0.22621
user id: 2099118681
uuid: A7EBA3AA-04D5-4583-960F-E240A0AA76D1

Additional Information

No response

Salla-CLI login error

ERROR Error getting connection token, Please check your internet connection and try again later .

Screenshot from 2022-08-24 10-41-35

bug: Creating an app, gives validation error

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

Creating an app and answering all wizard answers gives an error.

image

Expected Behavior

App should be created

Steps to Reproduce

App Name · Laravel Test App with Long name
Short Description · Say goodbye to missed opportunities for upselling and hello to increased revenue with our revolutionary AI-powered upsell app. With advanced algorithms that analyze customer behavior and preferences, our app makes personalized product recommendations that are proven to increase average order value. Easy to install and customize, it seamlessly integrates with your Shopify store to provide an exceptional shopping experience for your customers while boosting your bottom line.
Email Address · hazem*****@gmail.com
? App Type Public - Available for all Salla Merchants to download and use.
App Homepage URL · https://www.example.com
? App Authorization Mode Easy Mode - Salla in-house authorization where you listen automatically to webhook events.
? Select Framework Laravel - Laravel is a web application framework with expressive, elegant syntax.


        _____       _ _          _____ _      _____
       / ____|     | | |        / ____| |    |_   _|
      | (___   __ _| | | __ _  | |    | |      | |
       \___ \ / _` | | |/ _` | | |    | |      | |
       ____) | (_| | | | (_| | | |____| |____ _| |_
      |_____/ \__,_|_|_|\__,_|  \_____|______|_____|

                     Version: 1.4.56
        The Official Salla Command Line Interface

 INFO  Read the docs: https://github.com/SallaApp/Salla-CLI/
 INFO  Support and bugs: https://github.com/SallaApp/Salla-CLI/issues


The app name will be used to create a folder in your project root as well as in your Salla Partners Dashboard,
so make sure it's unique, easy to understand, and straight-forward.

✔ App Name · Laravel Test App

This description will be used in the Salla Dashboard to help you attract new merchants.
Ensure that your short description is easy-to-understand by the merchants and non-technical personnel
as it is the first thing they will see when they visit your app on Salla App Store.

✔ Short Description · AI-powered upsell app. Boost sales fast.

 WARN  To attract merchants, ensure that your description is at least 100 characters long.

✔ Short Description · AI-powered upsell app designed to help you maximize sales by intelligently suggesting related products to customers at the right time during their shopping experience. Easy installation and customization options available to seamlessly integrate with your store and start seeing results in no time.



This email will be assoicated with your Salla Partners account.
It will also be used to contact you in case of any issues or questions by the Salla Team.

✔ Email Address · [email protected]

Salla Partners gives you the option to create your app in three types. Choose the one that suits your needs.

? App Type  Public - Available for all Salla Merchants to download and use.

Add your app's home page URL where Salla merchants can learn more about your app's services and more.

✔ App Homepage URL · https://www.example.com

Choose your app's authorization mode that is supported by Salla. You can either use the easy mode or custom mode.

? App Authorization Mode  Easy Mode - Salla in-house authorization where you listen automatically to webhook events.

Select your preferred framework to develope your Salla App

? Select Framework  Laravel - Laravel is a web application framework with expressive, elegant syntax.

 INFO  Initializing your app in Salla.

⠸ Please Wait ☕️
 ERROR  - short_description.ar:
The App Description in Arabic may not be greater than 200 characters.
 ERROR  - short_description.en:
The App Description in English may not be greater than 200 characters.
 ERROR  Oops! There is an error while creating your App .
Error: Oops! Something went wrong while submitting your app. Try again later.

 ERROR  Error: Oops! There is an error while creating your App .

 WARN  If this error persists, please visit https://github.com/SallaApp/salla-cli/issues and submit an issue.
➜  tmp```

### Code Reproduction URL

_No response_

### Salla Info

[Salla info]

version: 1.4.56
npm version: 9.5.0
node version: v18.14.2
php version: 8.2.3
os: darwin
os version: 22.3.0
user id: 942463954
uuid: 0B202FED-C978-4E03-92F6-A4A3848E53CA

### Additional Information

_No response_

bug: TypeError: Cannot read properties of undefined (reading 'length')

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • 3.2.1

Salla CLI issue Type

Theme

Current Behavior

when executing salla theme preview I'm getting this error

TypeError: Cannot read properties of undefined (reading 'length')

Screenshot 2023-08-21 at 10 46 28 AM

Expected Behavior

It should work and start showing the theme preview

Steps to Reproduce

executing salla theme preview

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 3.2.1
npm version: 9.8.0
node version: v16.14.0
/bin/sh: php: command not found

ERROR Error: Command failed: php -v
/bin/sh: php: command not found

Additional Information

No response

bug: NgrokClientError: failed to start tunnel

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

when I run this command salla app serve
I receive this error

⠋ Starting ngrok. Please hold on ... ERROR Oops! There is an error while serving your Salla App .
NgrokClientError: failed to start tunnel

ERROR Error: Oops! There is an error while serving your Salla App .

Expected Behavior

I expected my app to serve

Steps to Reproduce

just run salla app serve

Code Reproduction URL

No response

Salla Info

salla info

[Salla info]

version: 1.4.58
npm version: 8.19.3
node version: v18.13.0
'php' is not recognized as an internal or external command,
operable program or batch file.

ERROR Error: Command failed: php -v
'php' is not recognized as an internal or external command,
operable program or batch file.

WARN If this error persists, please visit https://github.com/SallaApp/salla-cli/issues and submit an issue.

Additional Information

No response

[docs]: typo

Prerequisites

  • I have searched for existing issues that already report this problem, without success.

SallaCLI Version

  • v1.x

Salla CLI issue Type

App

Current Behavior

page tail

image

Expected Behavior

null

Steps to Reproduce

  • currencies

Code Reproduction URL

No response

Salla Info

[Salla info]

version: 3.2.1
npm version: 9.7.2
node version: v18.6.0
php version: 8.2.8
os: win32
os version: 10.0.22621
user id: 2099118681
uuid: A7EBA3AA-04D5-4583-960F-E240A0AA76D1

Additional Information

No response

[Error] An error while creating an application through Salla-CLI

Description
The error shows after selecting framework step for both existing application or new applications.

Steps to reproduce

  • Open terminal/CMD.
  • Run command salla app create
  • Select an existing application or new one.
  • Select any framework (Express or Laravel) both has the same issue.
  • See error.

Expected result
Go to next step or create an application with the selected framework.

Actual result
Error message shows: ERROR Oops! There is an error while creating your App .

Details

  • Salla version: 1.2.2
  • OS: macOS
  • Command Language: Z shell (zsh)

Screenshot
Screen Shot 1443-12-21 at 7 14 13 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.