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] #6486

Closed
2 tasks done
Lands-1203 opened this issue May 22, 2023 · 4 comments
Closed
2 tasks done

[BUG] #6486

Lands-1203 opened this issue May 22, 2023 · 4 comments
Labels
Bug thing that needs fixing

Comments

@Lands-1203
Copy link

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

I use npm to execute any startup command or publish command related to the project, there will be stutters, but not on another computer. I have tried to reinstall node, use a different version, and initialize the .npmrc file. I turned off the git hook.
But once I have successfully executed a command for one project, any command for all other projects can be executed quickly.

Expected Behavior

I hope npm can work properly.

Steps To Reproduce

None

Environment

windows os

; "user" config from C:\Users\Lenovo\.npmrc

@huize/:registry = "http://123.xx.xx.xx:4873/" 
//123.xx.xx.xx:4873/:_authToken = (protected) 
cache = "F:\\nodejs\\node_cache" 
prefix = "F:\\nodejs\\node_global" 
registry = "https://registry.npm.taobao.org/" 

; node bin location = F:\nodejs\node.exe
; node version = v16.20.0
; npm local prefix = C:\Users\Lenovo\Desktop\项目\npm\huize_react-components
; npm version = 9.6.7
; cwd = C:\Users\Lenovo\Desktop\项目\npm\huize_react-components
; HOME = C:\Users\Lenovo
; Run `npm config ls -l` to show all defaults.

; "publishConfig" from C:\Users\Lenovo\Desktop\项目\npm\huize_react-components\package.json
; This set of config values will be used at publish-time.

access = "public"
@Lands-1203 Lands-1203 added Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release labels May 22, 2023
@Lands-1203
Copy link
Author

npm -v

9.6.7

@Lands-1203
Copy link
Author

.npmrc

@huize/:registry= http://123.xxxx.xx.xx:4873/
//123.xxxx.xx.xx:4873/:_authToken="xxxxxxxx"
prefix=F:\nodejs\node_global
cache=F: \nodejs\node_cache
registry= https://registry.npm.taobao.org/

@milaninfy
Copy link
Contributor

Information provided is not enough to reproduce the issue correctly, if I were to guess from the write up it would be like first time you are installing or running something has a network calls and data to fetch and it takes time, from second time it works faster, again this is just a guess without all the information and reproduction steps it's hard to tell what is an actual issue here.
@Lands-1203 can you try replicating this problem on the latest version of npm? (ie. npm i -g npm)

@milaninfy milaninfy closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2024
@milaninfy milaninfy added Cannot Reproduce and removed Release 8.x work is associated with a specific npm 8 release Needs Triage needs review for next steps labels Jun 14, 2024
@milaninfy milaninfy reopened this Jun 14, 2024
@milaninfy
Copy link
Contributor

Closing due to age. 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 Jun 20, 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
Projects
None yet
Development

No branches or pull requests

2 participants