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

ENOENT: no such file or directory, open #350

Open
marcospassos opened this issue Mar 31, 2025 · 0 comments
Open

ENOENT: no such file or directory, open #350

marcospassos opened this issue Mar 31, 2025 · 0 comments

Comments

@marcospassos
Copy link

I'm encountering an issue when using pkg-pr-new with GitHub Actions, which has been working smoothly in other projects. Specifically, running the following command:

npx pkg-pr-new publish \
  --compact --comment=update \
  ./build

results in the error below:

npm error code ENOENT
npm error syscall open
npm error path /home/runner/work/content-model-js/content-model-js/build/croct-content-model-269/merge.tgz
npm error errno -2
npm error enoent ENOENT: no such file or directory, open '/home/runner/work/content-model-js/content-model-js/build/croct-content-model-269/merge.tgz'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-03-31T18_14_46_523Z-debug-0.log

Error: npm pack exited with a status of 254.

It appears npm can't locate the merge.tgz file under the specified build path (./build/croct-content-model-269). Any insights or suggestions on resolving this issue would be greatly appreciated!

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

No branches or pull requests

1 participant