sallaapp / salla-cli Goto Github PK
View Code? Open in Web Editor NEWSalla CLI provides a variety of commands for managing, viewing, and publishing your Salla Apps on Salla Partners Portal.
Home Page: https://salla.dev
Salla CLI provides a variety of commands for managing, viewing, and publishing your Salla Apps on Salla Partners Portal.
Home Page: https://salla.dev
App
@``
No response
موقع https://salla.sa/med
.stor
No response
App
https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543
https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543
https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543
https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543
https://salla.sa/dev-4irapu1kdhosmtqe?expires=1672736543
there is a screenshot of issues on cmd windowes
https://prnt.sc/xs12D_6_AWG_
https://prnt.sc/zYU5m1WfhQ6e
I hope I gave an full desc about the problem
please fixed it soon!
App
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'
The command should install a ebhook
$ salla app create-webhook app.installed
No response
[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
No response
هل هذه الخدمه تكمنني من ربط api
آخر و الشراء و البيع تلقائي ؟
Theme
when executing salla theme preview
I'm getting this error
TypeError: Cannot read properties of undefined (reading 'length')
It should work and start showing the theme preview
executing salla theme preview
No response
[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
No response
App
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
Create a new application boilerplate
Simply just create a new app via salla app create
No response
[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
I'm using Windows 11
Theme
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.
`
it should work and open the theme preview
No response
[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.
No response
Theme
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.
It logs in
type salla login
No response
[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:
No response
Theme
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
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
..
No response
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
No response
Theme
I need clearable steps to import theme HTML theme from Github to Salla
I need clearable steps to import theme HTML theme from Github to Salla
No response
[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.
No response
Software versions
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
Theme
login to salla partners to mange primary operations
salla login or npx salla login
No response
[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:
No response
App
Creating an app and answering all wizard answers gives an error.
App should be created
✔ 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_
Theme
https://github.com/Al-Ashger/ffff
{"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"}
No response
App
@ webhooks#register-endpoint-1
404 Not Found
{
"status": 404,
"success": false,
"error": {
"code": "error",
"message": ""
}
}
null
No response
[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
No response
Theme
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.
Theme get created
salla theme create
No response
salla cli version: 3.2.1
npm version: 9.7.1
node version: v18.17.0
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
متجر بيع بالتجزئة متنوع منخفض التكلفة ومتخصص في السلع المنزلية والاستهلاكية بما في ذلك مستحضرات التجميل والأدوات المكتبية والألعاب وأدوات المطبخ
$ 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.
App
Failed to create repository, it may be already exists or you are using organization github account.
Failed to create repository, it may be already exists or you are using organization github account.
Failed to create repository, it may be already exists or you are using organization github account.
No response
Failed to create repository, it may be already exists or you are using organization github account.
Failed to create repository, it may be already exists or you are using organization github account.
once i try to run the command a [no npm found ] will pop up
App
Unable to execute the salla app serve --port 8081
.
It should execute the cli command.
After installation just run the serve command salla app server --port 8081
No response
No response
Description
The error shows after selecting framework step for both existing application or new applications.
Steps to reproduce
salla app create
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
Theme
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
CLI download process is completed successfully
..
No response
i didnt have
.
Theme
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.
It shouldn't throw error and should sync with local.
make changes in theme in partner area.
No response
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
No response
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
Theme
login to salla partners to mange primary operations
salla login
or npx salla login
No response
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:
No response
App
serve successfully
create app
then choose express not php
No response
but install via express not php
No response
Theme
When I attempt to create theme using salla-cli salla theme create
I get the following error
even though I have been logged in using salla cli and my account is linked to github properly
I should be able to create a theme and start coding right away
attempt to create new theme using salla cli
No response
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
λ
No response
Theme
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.
Theme get created
salla theme create
No response
salla cli version: 3.2.1
npm version: 9.7.1
node version: v18.17.0
No response
Theme
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
shows the all components in the editor and the page
Just fix it
No response
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
No response
App
I have installed the latest versions of npm, nodejs, php and composer, then tried to install Salla CLI, but it gives me an error:
After I give it a permission it got stuck downloading:
Installed without any problem.
Run this command:
sudo npm install @salla.sa/cli -g
https://salla.dev/blog/meet-salla-cli/error/not-found, this link doesn't work
Salla is not installed.
Theme
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>
.
.
No response
previewing theme
No response
Theme
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.
`
Should preview.
Preview theme
No response
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
No response
Theme
https://github.com/salma123444/catchly
https://github.com/salma123444/catchly
https://github.com/salma123444/catchly
https://github.com/salma123444/catchly
https://github.com/salma123444/catchly
Theme
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.
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
salla theme create
No response
[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.
No response
App
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 .
I expected my app to serve
just run salla app serve
No response
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.
No response
Theme
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.
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.
No response
[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.
> 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.
App
can you give us the solution please
..
..
No response
..
..
Theme
The CLI hangs when creating a theme, the repo gets initialized on my GitHub repo but CLI is not reflecting.
Complete the CLI theme-creating process.
npm install @salla.sa/cli -g
salla theme create
Enter
No response
[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
No response
App
null
No response
[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
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.