Giter VIP home page Giter VIP logo

Comments (11)

svc-idee-bot avatar svc-idee-bot commented on July 3, 2024

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.

from salesforcedx-vscode.

RCMoonpie avatar RCMoonpie commented on July 3, 2024

I, too, suddenly had a seemingly related issue today when attempting to retrieve a Custom Metadata Type that was newly created via UI in a sandbox and which did not yet exist in my local project.

Issue Details

Initial

Command

sf project retrieve start --metadata CustomObject:New_CMDT__mdt

Output while running

>> Warning: @salesforce/cli update available from 2.34.7 to 2.46.6
Retrieving v59.0 metadata from [email protected] using the v61.0 SOAP API
Preparing retrieve request... | Pending

NOTE: Spinner between "request..." and "Pending" was spinning the entire time

Result

After an estimated 60-90 seconds, pressed Ctrl + C in terminal to abort

Output after abort:

Preparing retrieve request... done
C:\Programs Portable\node-v20.10.0-win-x64\node_modules\@salesforce\cli\node_modules\@olif\core\lib\errors\index.js:20
    throw new exit_1.ExitError(code);
    ^
    
ExitError: EEXIT: 130
    at RetrieveMetadata.exit (C:\Programs Portable\node-v20.10.0-winx64\node-modules\@salesfore\cli\node_modules\@oclif\core\lib\command.js:180:16)
    at process.<anonyous> (file:///C:/Programs%20Portable/node-v20.10.0-winx64/node_modules/@salesforce/cli/node_modules/@salesforce/sf-plugins-core/lib/sfCommand.js:262:22)
    at process.emit (node:events:526:35) {
  code: 'EEXIT',
  oclif: { exit: 130 },
  skipOclifErrorHandling: undefined,
  suggestions: undefined
}

Node.js v20.10.0

Notes

  • Right-click diff on metadata existing in local project worked fine
  • Right-click deployment of metadata from local project worked fine

System info

Salesforce Extension Version in VS Code: 61.1.2 (updated yesterday, 20 June 2024)
Salesforce CLI Version: @salesforce/cli/2.34.7 win32-x64 node-v20.10.0
OS and version: Windoze x64 10.0.19045
VS Code version: 1.88.1
Most recent version of the extensions where this was working: Unknown -- I do not know what version I was on before updating yesterday

Next Step

  • Retried same command : same result

Next Step

  • Restarted VS Code
  • Retried same command : SUCCESS

from salesforcedx-vscode.

daphne-sfdc avatar daphne-sfdc commented on July 3, 2024

Hi @SarveshZap, Can we get some info about your org shape? For example, number of Apex classes, number of LWC components, number of custom objects, etc. Can we also get the org id of your sandbox and the org id of the production org that created the sandbox?

from salesforcedx-vscode.

diyer avatar diyer commented on July 3, 2024

@RCMoonpie looks like you are running retrieve with cli command and not with VS Code extension. If the issue is with cli, please report it on https://github.com/forcedotcom/cli

from salesforcedx-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.