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

force:source:push Stopped working after adding manifest file to work with SFDX: Deploy Source to Org #741

Closed
sserif opened this issue Nov 12, 2018 · 2 comments

Comments

@sserif
Copy link

sserif commented Nov 12, 2018

After trying "Develop Against Any Org in Visual Studio Code (Beta)" provided here:
Click Here
Salesforce DX force:source:push command keeps failing with the following error:
force-app/manifest/package.xml-meta.xml Error parsing file: Element {http://soap.sforce.com/2006/04/metadata}types invalid at this location in type EmailServicesFunction (3:12)

Package xml used:

<?xml version="1.0" encoding="UTF-8" ?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexComponent</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexPage</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexTrigger</name>
    </types>
    <types>
        <members>*</members>
        <name>AuraDefinitionBundle</name>
    </types>
    <types>
        <members>*</members>
        <name>StaticResource</name>
    </types>
    <version>44.0</version>
</Package>

Steps To Reproduce:

  1. Follow steps in the link provided above

Expected result

Should work as it would with any DX Project.

Actual result

Getting the error above

VS Code Version:
Version 1.28.2 (1.28.2)

SFDX CLI Version:
sfdx-cli/6.38.0-0d66175ccf (darwin-x64) node-v8.9.4

OS and version:
macOS High Sierra 10.13.6

@kbierbaum
Copy link

@sserif can you confirm you're using sfdx force:source:push instead of sfdx force:source:deploy? Deploy should be the command used during development against non-scratch orgs. Thanks!

@no-response
Copy link

no-response bot commented Nov 28, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants