Error: Local Dev is not enabled for your org

Đang mở
#326 6 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

Error: "Local Dev is not enabled for your org" when I run the sf lightning dev app command.

Steps To Reproduce:
  1. Enable in the org Local Dev from setup
  2. Check banner on top "Local Dev (Beta) is on.." is present
  3. 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:

Image

Image

Image

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

Ngôn ngữ chính
TypeScript
Star
19
Fork
19
Merge trung bình
3 ngày 12 giờ
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của salesforcecli/plugin-lightning-dev

Tất cả issue của salesforcecli/plugin-lightning-dev

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.