Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

No such file or directory when pulling files #1

Open
maxcamp opened this issue Aug 7, 2020 · 0 comments
Open

No such file or directory when pulling files #1

maxcamp opened this issue Aug 7, 2020 · 0 comments

Comments

@maxcamp
Copy link
Contributor

maxcamp commented Aug 7, 2020

Summary

When running pull with this plugin, you get the error no such file or directory, open '/var/folders/vn/485p.....'. The error does not occur in debug mode so my guess is it's something with an async call to write the file.

Steps To Reproduce:

  1. Set up and link the plugin
  2. Set the necessary environment variable, $SFDX_ORG_PATH
  3. Make a remote change to a custom object
  4. Run sfdx force:source:pull

Expected result

The hook should run, the pull command should finish as expected, and the output table should show No Results Found.

Actual result

The error ERROR running force:source:pull: ENOENT: no such file or directory, open '/var/folders/vn/485pjx4918n8wj0s6hs758mr0000gp/T/sdx_pull_1596822273951/unpackaged/objects/XXX.object'

Additional information

The file that is 'no such file or directory' is the file that the hook reads and writes to. However the error triggers not within the hook but afterwards in the updateSource() and commitMetadata() functions.

SFDX CLI Version: 7.66.2

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

No branches or pull requests

1 participant