-
Notifications
You must be signed in to change notification settings - Fork 78
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
Can no longer deploy files to developer org #488
Comments
Seeing the same issue here, seems to be inconsistent as well. |
Actually I think this is an issue with the logic used to find the project's sfdx-project.json file. If I run the deploy command from the directory the sfdx-project.json file is in, it will deploy, but if I'm in a subdirectory of my project and run the command it fails with This used to work fine when running deploys with full paths in a project subdirectory. |
What @JonnyPower said. Our script used to push from subfolder of sfdx project, now that fails. |
force:mdapi:convert is also broken with same issue. Was working perfectly fine 2 weeks ago. |
We're getting the same when running
I do confirm that the workaround that @JonnyPower mentioned (pushing from the root and not a sub directory) also works for us. Was working fine ~2 weeks ago. |
Yes deploying from root is fine, but not from sub directories. This is really messing with our CI and needs to be fixed ASAP. |
The fix will be in this week's release, scheduled for today. Thanks for your patience. @gvkempen The deprecation warnings have nothing to do with the error during deploy. None of them are direct plugin dependencies but rather transitive deps which require fixing in other projects. That said, we definitely want to address them as soon as we can. Version bumps are easier to deal with than switching modules entirely, but it all requires investigation, implementation, and testing. It's a matter of priorities, and the bug listed here is just one of many with much higher priority. |
FYI: The new build has solved the issue for me. Thanks |
Thank you for confirming. |
Seems working fine now. |
Summary
sfdx force:source:deploy -p "c:\my stuff\code\MyProject\sfdc\classes\SidebarController.cls"
ERROR running force:source:deploy: Cannot read property 'path' of undefined
Steps To Reproduce:
Run the command line
Expected result
File should deploy
Actual result
ERROR running force:source:deploy: Cannot read property 'path' of undefined
Additional information
sfdx-cli/7.65.4-c99e705754 win32-x64 node-v12.13.0
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.0.1 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.7.10 (core)
@oclif/plugin-update 1.3.10 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-diff 0.0.6
@salesforce/sfdx-trust 3.0.7 (core)
analytics 1.12.0 (core)
generator 1.1.3 (core)
salesforcedx 48.22.8 (core)
├─ salesforcedx-templates 48.18.0 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
├─ salesforce-alm 48.24.1 (core)
└─ custom-metadata 1.0.4 (core)
sfdx-cli 7.65.4 (core)
The text was updated successfully, but these errors were encountered: