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

[BUG] The .gitignore file is renamed to .npmignore when npm install #7748

Closed
2 tasks done
qiufeihong2018 opened this issue Aug 23, 2024 · 2 comments
Closed
2 tasks done
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@qiufeihong2018
Copy link

qiufeihong2018 commented Aug 23, 2024

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

The tgz package I uploaded to npm contains the .gitignore file, but the npm install package becomes .npmignore

Expected Behavior

npm installs the package as it is

Steps To Reproduce

  1. In this environment...
  2. With this config...
  3. Run '...'
  4. See error...

Environment

  • npm: 10.8.1
  • Node.js: 20.16.0
  • OS Name:
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here
@qiufeihong2018 qiufeihong2018 added Bug thing that needs fixing Needs Triage needs review for next steps labels Aug 23, 2024
@qiufeihong2018 qiufeihong2018 changed the title [BUG] npm install时.gitignore 文件重命名为 .npmignore [BUG] The .gitignore file is renamed to .npmignore when npm install Aug 23, 2024
@milaninfy
Copy link
Contributor

@qiufeihong2018 Please provide all the details mentioned in the issue template like config and reproduction steps, logs etc.

@milaninfy
Copy link
Contributor

Closing. If this is still a problem please feel free to reopen this issue, or create a new issue w/ steps to reproduce.

@milaninfy milaninfy closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

2 participants