You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: Logging this after discussion with Vivek Chawla in Slack.
The short version is that I've created a preview scratch org and an API v62.0 project, then I've created an LWC component with a valid .ts file instead of a .js file. When I try to deploy the project to the scratch org, I get:
$ sf project deploy start
Deploying v62.0 metadata to <redacted> using the v62.0 SOAP API.
Deploy ID: <redacted>
Status: Failed | ████████████████████████████████████████ | 1/1 Components | Errors: 1
Component Failures [1]
===================================================================================
| Type Name Problem Line:Column
| ───── ─────────── ─────────────────────────────────────────────────── ───────────
| Error tsComponent Cannot find Lightning Component Bundle tsComponent.
Note that I'm on the latest GA build of the CLI:
The same behavior occurs on the stable (@salesforce/cli/2.57.7 win32-x64 node-v20.16.0) and nightly (@salesforce/cli/2.59.5 win32-x64 node-v20.17.0) CLI builds.
Thanks, @iowillhoit. I'd be specifically interested to know whether or not it will be possible to deploy these via the CLI in the Winter '25 timeframe. That will obviously determine to what extent (if at all) I'm able to add support for TypeScript-based LWC components to IC2. I've already implemented a significant amount of IDE editor functionality, but if the transpiler step is only in the VS Code Extensions, I'd either need to know how to run the same transpiler or would have to wait until that functionality is (IMO correctly) moved into the CLI.
NOTE: Logging this after discussion with Vivek Chawla in Slack.
The short version is that I've created a preview scratch org and an API v62.0 project, then I've created an LWC component with a valid
.ts
file instead of a.js
file. When I try to deploy the project to the scratch org, I get:The same behavior occurs on the stable (
@salesforce/cli/2.57.7 win32-x64 node-v20.16.0
) and nightly (@salesforce/cli/2.59.5 win32-x64 node-v20.17.0
) CLI builds.System Information
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
❌ warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
✅ pass - using latest or latest-rc CLI version
❌ fail - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - [@salesforce/plugin-auth] CLI using stable v1 crypto
The text was updated successfully, but these errors were encountered: