'sf lightning dev' cannot start because the target org uses API version 68.0

未關閉 適合新手
#686 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
65/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
typescript
領域
cli, devtools

研究方向

sf lightning dev component 命令開始,在 API 版本為 68.0 的 org 上重現該失敗。追蹤 plugin 的 API 版本驗證,然後確認元件預覽是否能在 API 版本 66.0、67.0 和 68.0 上成功啟動。

由索引模型根據 Issue 內容生成。

描述

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:
  1. Install or update the latest Salesforce CLI and lightning-dev plugin.
  2. Authenticate to an org on API version 68.0.
  3. Run sf lightning dev component.
  4. 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.
主要語言
TypeScript
星號
19
分支
19
平均合併
3 天 12 小時
30 天內合併 PR
2

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

salesforcecli/plugin-lightning-dev 的其他 Issue

查看 salesforcecli/plugin-lightning-dev 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。