'sf lightning dev' cannot start because the target org uses API version 68.0
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
Start with the sf lightning dev component command and reproduce the failure against an API version 68.0 org. Trace the plugin's API-version validation, then verify that component preview starts successfully for API versions 66.0, 67.0, and 68.0.
Written by the indexing model from the issue text.
Description
Summary
sf lightning dev component cannot start because the target org uses API version 68.0, while the latest lightning-dev plugin (6.2.18) supports only API versions 66.0 and 67.0.
Steps To Reproduce:
- Install or update the latest Salesforce CLI and
lightning-devplugin. - Authenticate to an org on API version 68.0.
- Run
sf lightning dev component. - Select an LWC component for preview.
Expected Result
Component preview starts successfully for an API 68.0 org.
Actual Result
The command fails with:
Error (1): Your org is on API Version 68.0. This version of the plugin supports only versions 66.0, 67.0. Please update your plugin.
- 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 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
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
salesforcecli/plugin-lightning-dev#428 · 2 reactions ·
All issues in salesforcecli/plugin-lightning-dev
Similar issues
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
Difficulty 1/5 Under an hour Newbie friendliness 88/100
digidem/comapeo-cloud-app#403 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100