Skip to content

Make sure to have your package on npm first. #414

@wKovacs64

Description

@wKovacs64

Hey all,

Any idea why pkg-pr-new publish --compact would suddenly start failing to find the package on npm (or how to troubleshoot)? It's there, and it's been working for quite some time. 🤔

Run npx --yes pkg-pr-new publish --compact
  
Error:  pkg-pr-new cannot resolve hibp from npm. --compact flag depends on the package being available in npm.
Make sure to have your package on npm first.
  Make sure to have your package on npm first.
  at verifyCompactMode (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:3700:11)
  at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
  at async Object.run (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:3357:15)
  at async runCommand (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:2939:16)
  at async runCommand (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:2930:11)
  at async runMain (/home/runner/.npm/_npx/e8f433c388b218fc/node_modules/pkg-pr-new/dist/index.js:3066:7) 
Error:  pkg-pr-new cannot resolve hibp from npm. --compact flag depends on the package being available in npm.
Make sure to have your package on npm first.
Error: Process completed with exit code 1.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions