You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❌ > nx run @thdk/lib-c:nx-release-publish
Something unexpected went wrong when checking for existing dist-tags.
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at runExecutor (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/@nx/js/src/executors/release-publish/release-publish.impl.js:[119](https://github.com/thdk/nx-monorepo-demo/actions/runs/14263132694/job/39978988948#step:8:121):37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async promiseToIterator (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/src/command-line/run/run.js:36:11)
at async getLastValueFromAsyncIterableIterator (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/src/utils/async-iterator.js:15:19)
at async iteratorToProcessStatusCode (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/src/command-line/run/run.js:39:25)
at async handleErrors (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/src/utils/handle-errors.js:8:24)
at async process.<anonymous> (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/bin/run-executor.js:59:28)
NX Running target nx-release-publish for project @thdk/lib-c failed
When I manually run the command to fetch dist tags for my npm package I get indeed nothing returned. Which is not valid json.
❌ > nx run @thdk/lib-c:nx-release-publish
Something unexpected went wrong when checking for existing dist-tags.
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at runExecutor (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/@nx/js/src/executors/release-publish/release-publish.impl.js:[119](https://github.com/thdk/nx-monorepo-demo/actions/runs/14263132694/job/39978988948#step:8:121):37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async promiseToIterator (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/src/command-line/run/run.js:36:11)
at async getLastValueFromAsyncIterableIterator (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/src/utils/async-iterator.js:15:19)
at async iteratorToProcessStatusCode (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/src/command-line/run/run.js:39:25)
at async handleErrors (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/src/utils/handle-errors.js:8:24)
at async process.<anonymous> (/home/runner/work/nx-monorepo-demo/nx-monorepo-demo/node_modules/nx/bin/run-executor.js:59:28)
NX Running target nx-release-publish for project @thdk/lib-c failed
Package Manager Version
No response
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
When I manually run the command to fetch dist tags for my npm package I get indeed nothing returned. Which is not valid json.
See releated npm issues:
npm view package@latest
exits with code 0 and no output iflatest
tag does not exist npm/cli#6408Expected Behavior
Either a proper error message or continue as if the package doesn't exist or doesn't have any dist tags?
GitHub Repo
No response
Steps to Reproduce
next
latest
tag exists for the packageNx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: