Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lwc in subfolders no longer work in force:source:push #1477

Closed
yippie opened this issue Apr 12, 2022 · 3 comments
Closed

lwc in subfolders no longer work in force:source:push #1477

yippie opened this issue Apr 12, 2022 · 3 comments
Labels
bug Issue or pull request that identifies or fixes a bug investigating We're actively investigating this issue

Comments

@yippie
Copy link

yippie commented Apr 12, 2022

Summary

force:source:push no longer supports lwc subfolders ini the source code. Prior to 7.144 this worked just fine

Steps To Reproduce:

  1. Have a source based project with the LWC in a folder structure like this:

lwc
+--folder1
| \ --lwc
| +--myLwcCmp1
| \ --myLwcCmp2
\--myLwcCmp3

  1. SFDX 7.144 or newer
  2. run force:source:push

Expected result

Source push to succeed

Actual result

Deploy Errors:
Error folder1 No base file for markup://c:folder1
Error folder1 duplicate value found: duplicates value on record with id:
Error folder1 duplicate value found: duplicates value on record with id:

System Information

{
"cliVersion": "sfdx-cli/7.145.0",
"architecture": "darwin-x64",
"nodeVersion": "node-v16.13.1",
"pluginVersions": [
"@mavens/mic-cli-plugin 11.0.0-0 (link) /Users/kaiamundsen/workspace/P-Tool-MIC-Installer",
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 2.0.0 (core)",
"apex 0.11.0 (core)",
"auth 1.8.2 (core)",
"community 1.1.4 (core)",
"config 1.3.24 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.6.12 (core)",
"generator 1.2.2 (core)",
"info 1.3.1 (core)",
"isvte-sfdx-plugin 1.1.14",
"limits 1.3.0 (core)",
"org 1.11.2 (core)",
"salesforce-alm 54.1.0 (core)",
"schema 1.1.0 (core)",
"sfdmu 4.13.0",
"sfdx-cli 7.145.0 (core)",
"source 1.9.2 (core)",
"telemetry 1.4.0 (core)",
"templates 54.3.0 (core)",
"trust 1.1.0 (core)",
"user 1.7.1 (core)"
],
"osVersion": "Darwin 21.4.0"
}

@yippie yippie added the investigating We're actively investigating this issue label Apr 12, 2022
@github-actions
Copy link

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

@mshanemc mshanemc added the bug Issue or pull request that identifies or fixes a bug label Apr 25, 2022
@uip-robot-zz
Copy link

This issue has been linked to a new work item: W-11051996

@iowillhoit
Copy link
Contributor

This fix is included in the latest stable build of sfdx (7.149.1). Let us know if you still are seeing issues. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug investigating We're actively investigating this issue
Projects
None yet
Development

No branches or pull requests

4 participants