Error: Local Dev is not enabled for your org
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- cli
Research direction
Start by reproducing sf lightning dev app -o {TargetOrg} against an org where Local Dev is enabled and the setup banner is visible. Trace the sf lightning dev app command in the lightning-dev plugin to compare its org check with the reported setting; done means the command proceeds and makes Preview Components available.
Written by the indexing model from the issue text.
Description
Summary
Error: "Local Dev is not enabled for your org" when I run the sf lightning dev app command.
Steps To Reproduce:
- Enable in the org Local Dev from setup
- Check banner on top "Local Dev (Beta) is on.." is present
- Run from terminal sf lightning dev app -o {TargetOrg}
Expected Result
Preview Components is available
Actual Result
Getting error Local Dev is not enabled for your org
Additional Information
Screenshots:
SF CLI:
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.58.7",
"nodeVersion": "node-v20.15.0",
"osVersion": "Darwin 23.4.0",
"rootPath": "/Users/raffaele.preziosi/.nvm/versions/node/v20.15.0/lib/node_modules/@salesforce/cli",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.2 (core)",
"@oclif/plugin-commands 4.0.13 (core)",
"@oclif/plugin-help 6.2.10 (core)",
"@oclif/plugin-not-found 3.2.18 (core)",
"@oclif/plugin-plugins 5.4.6 (core)",
"@oclif/plugin-search 1.2.7 (core)",
"@oclif/plugin-update 4.5.5 (core)",
"@oclif/plugin-version 2.2.11 (core)",
"@oclif/plugin-warn-if-update-available 3.1.13 (core)",
"@oclif/plugin-which 3.2.12 (core)",
"@salesforce/cli 2.58.7 (core)",
"apex 3.4.8 (core)",
"api 1.2.1 (core)",
"auth 3.6.54 (core)",
"data 3.6.5 (core)",
"deploy-retrieve 3.12.3 (core)",
"dev 2.3.1 (user) published 275 days ago (Thu May 02 2024) (latest is 2.5.1)",
"devops-center 1.2.22 (user) published 153 days ago (Sun Sep 01 2024) (latest is 1.2.27)",
"info 3.4.3 (core)",
"lightning-dev 1.10.0 (user) published 43 days ago (Thu Dec 19 2024)",
"limits 3.3.29 (core)",
"marketplace 1.2.25 (core)",
"org 4.5.7 (core)",
"packaging 2.8.2 (core)",
"schema 3.3.26 (core)",
"settings 2.3.16 (core)",
"sobject 1.4.33 (core)",
"source 3.5.18 (core)",
"telemetry 3.6.10 (core)",
"templates 56.3.17 (core)",
"trust 3.7.27 (core)",
"user 3.5.29 (core)",
"@salesforce/sfdx-scanner 4.5.0 (user) published 157 days ago (Tue Aug 27 2024) (latest is 4.9.0)",
"lightning-flow-scanner 2.34.0 (user) published 160 days ago (Sun Aug 25 2024) (latest is 2.43.0)",
"move-qcp 1.2.3 (user) published 523 days ago (Sun Aug 27 2023)",
"sf-compare 1.0.4 (user) published 287 days ago (Sat Apr 20 2024)",
"sf-dataops 1.0.0 (link) /Users/raffaele.preziosi/VsCode/sf-dataops",
"sf-debug-log 0.1.2 (user) published 379 days ago (Thu Jan 18 2024)",
"sf-perms 1.1.0 (user) published 238 days ago (Fri Jun 07 2024)",
"sfdmu 4.36.3 (user) published 134 days ago (Thu Sep 19 2024) (latest is 4.38.0)"
]
}
OS: Mac
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 19
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 2
Contributor guide
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 salesforcecli/plugin-lightning-dev
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
salesforcecli/plugin-lightning-dev#686 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
salesforcecli/plugin-lightning-dev#627 · 2 comments · 1 reaction ·
-
BUG P2
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#544 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#456 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in salesforcecli/plugin-lightning-dev
Similar issues
-
comp/dashboard P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#117722 ·
-
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 ·