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

[Fix]: Publish the package on NPM #3

Merged
merged 1 commit into from
Aug 26, 2022
Merged

[Fix]: Publish the package on NPM #3

merged 1 commit into from
Aug 26, 2022

Conversation

rish9511
Copy link

Before this commit it was required to install the package
using Github. However when using NPM version 8.5, the installation
used to fail with the following error :
"... git --no-replace-objects clone https://git@github.com/ElucidataInc/node-s3-client.git /root/.npm/_cacache/tmp/git-cloneNZtpAU --recurse-submodules
npm ERR! fatal: could not create leading directories of
'/root/.npm/_cacache/tmp/git-cloneNZtpAU': Permission denied"

The following Github threads were reported with similar issues

As the suggested methods in the above threads, like shifting to older
version of NPM, did not satisfy our needs, we are publishing the package
to NPM public registry

Before this commit it was required to install the package
using Github. However when using NPM version 8.5, the installation
used to fail with the following error :
"... git --no-replace-objects clone https://git@github.com/ElucidataInc/node-s3-client.git
 /root/.npm/_cacache/tmp/git-cloneNZtpAU --recurse-submodules
npm ERR! fatal: could not create leading directories of
'/root/.npm/_cacache/tmp/git-cloneNZtpAU': Permission denied"

The following Github threads were reported with similar issues
- npm/cli#624
- npm/cli#642

As the suggested methods in the above threads, like shifting to older
version of NPM, did not satisfy our needs, we are publishing the package
to NPM public registry
@rish9511 rish9511 merged commit 9749fc1 into master Aug 26, 2022
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.

3 participants