Unable to deploy app with custom nameslug
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js, typescript
- Domain
- cli
Research direction
Start with the deploy command in lib/commands/deploy.js, especially asyncSubmitData around line 100, and reproduce the failure using the shown app.json and a custom nameSlug. Compare deployment behavior for a new slug with an existing marketplace slug. Done means a newly generated app with a custom nameSlug deploys successfully or reports the underlying deployment error clearly.
Written by the indexing model from the issue text.
Description
After creating a new app with the rc-apps create command. I get the following app.json.
{
"id": "f044466e-8540-4168-aa91-4cc94a3c860c",
"version": "0.0.1",
"requiredApiVersion": "^1.4.0",
"iconFile": "icon.png",
"author": {
"name": "Mathieu Charest",
"homepage": "http://localhost",
"support": "http://localhost"
},
"name": "Draw.io",
"nameSlug": "drawio",
"classFile": "DrawIoApp.ts",
"description": "Draw.io"
}
Then, I simply try to deploy the default created app with the rc-apps deploy command and I get
packaging your app... packaged!
deploying your app... !
Error: Deployment error: undefined
at Deploy.asyncSubmitData (C:/Users/Mathieu/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/lib/commands/deploy.js:100:19)
at async Deploy.run (C:/Users/Mathieu/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/lib/commands/deploy.js:47:9)
at async Deploy._run (C:/Users/Mathieu/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/node_modules/@oclif/command/lib/command.js:44:20)
at async Config.runCommand (C:/Users/Mathieu/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/node_modules/@oclif/config/lib/config.js:160:9)
at async Main.run (C:/Users/Mathieu/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/node_modules/@oclif/command/lib/main.js:21:9)
at async Main._run (C:/Users/Mathieu/AppData/Roaming/npm/node_modules/@rocket.chat/apps-cli/node_modules/@oclif/command/lib/command.js:44:20)
The only way for me to deploy the app is changing the nameslug to an app that exists in the market. Like Appear.In.
{
"id": "f044466e-8540-4168-aa91-4cc94a3c860c",
"version": "0.0.1",
"requiredApiVersion": "^1.4.0",
"iconFile": "icon.png",
"author": {
"name": "Mathieu Charest",
"homepage": "http://localhost",
"support": "http://localhost"
},
"name": "Draw.io",
"nameSlug": "appearin",
"classFile": "DrawIoApp.ts",
"description": "Draw.io"
}
packaging your app... packaged!
deploying your app... deployed!
- Dominant language
- TypeScript
- Stars
- 49
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RocketChat/Rocket.Chat.Apps-cli
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
RocketChat/Rocket.Chat.Apps-cli#181 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
RocketChat/Rocket.Chat.Apps-cli#177 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
RocketChat/Rocket.Chat.Apps-cli#173 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
All issues in RocketChat/Rocket.Chat.Apps-cli
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·