Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

fix: use --force when running npm pack #103

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

bitgopatmcl
Copy link
Contributor

This flag should fix a race condition we are seeing according to the
error message:

npm ERR! File exists: undefined
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

This flag should fix a race condition we are seeing according to the
error message:

```
npm ERR! Could not move /tmp/npm-106-07447faf/tmp/packing-989d668d/bitgo-common-1.0.0.tgz to bitgo-common-1.0.0.tgz: destination already exists.
npm ERR! File exists: undefined
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
```
Copy link
Contributor

@EricCrosson EricCrosson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bitgopatmcl

@EricCrosson EricCrosson merged commit 602826d into typescript-tools:master Mar 16, 2022
@github-actions
Copy link

🎉 This PR is included in version 3.0.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants