Skip to content

Remove bin entry from package.json for removed "repl" script #509

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

dimfeld
Copy link
Contributor

@dimfeld dimfeld commented May 7, 2025

Description

v8.0 removed the "repl" script, but it's still referenced in the bin section of package.json. pnpm complains about this when installing.

 WARN  Failed to create bin at /Users/dimfeld/.pnpm/5/.pnpm/@easypost+api@file+..+..+Documents+src+easypost-node_461784133dc0ee17d7247d322e58791e/node_modules/@easypost/api/node_modules/.bin/easypost. ENOENT: no such file or directory, open '/Users/dimfeld/.pnpm/5/.pnpm/@easypost+api@file+..+..+Documents+src+easypost-node_461784133dc0ee17d7247d322e58791e/node_modules/@easypost/api/repl.js'
 WARN  Failed to create bin at /Users/dimfeld/Library/pnpm/easypost. ENOENT: no such file or directory, open '/Users/dimfeld/.pnpm/5/.pnpm/@easypost+api@file+..+..+Documents+src+easypost-node_461784133dc0ee17d7247d322e58791e/node_modules/@easypost/api/repl.js'

This PR updates the package.json accordingly to no longer reference it.

Testing

Installed the package with this branch and verified that the warning no longer appears.

Pull Request Type

Please select the option(s) that are relevant to this PR.

  • Improvement (fixing a typo, updating readme, renaming a variable name, etc)

@dimfeld dimfeld requested a review from a team as a code owner May 7, 2025 22:06
@Justintime50
Copy link
Member

Great catch! Thanks for submitting this.

@Justintime50 Justintime50 merged commit 63bb293 into EasyPost:master May 8, 2025
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants