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

npm ERR! 504 Gateway Time-out whenever I use npm 8 #5943

Closed
1 of 2 tasks
keerthika-priya opened this issue Dec 9, 2022 · 2 comments
Closed
1 of 2 tasks

npm ERR! 504 Gateway Time-out whenever I use npm 8 #5943

keerthika-priya opened this issue Dec 9, 2022 · 2 comments
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release

Comments

@keerthika-priya
Copy link

keerthika-priya commented Dec 9, 2022

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 have a project which was using npm 6 before, now while trying to use npm 8.11.0 (that comes with node 16.15.1) I always get 'npm ERR! 504 Gateway Time-out' when I do npm i

I am only able to do npm i successfully after deleting my package-lock.json file or downgrading to npm 6.
I don't want to delete the package-lock.json file so this issue is stopping me from developing.

npm ERR! code E504 npm ERR! 504 Gateway Time-out - GET http://10.47.6.199/fk-artifactory-526/npm/react-native-scrollable-tab-header/-/react-native-scrollable-tab-header-0.2.9.tgz npm verb exit 1 npm timing npm Completed in 275963ms npm verb unfinished npm timer reify 1670562603242 npm verb unfinished npm timer reify:unpack 1670562604174 npm verb unfinished npm timer reifyNode:node_modules/react-native-scrollable-tab-header 1670562604191 npm verb unfinished npm timer reifyNode:node_modules/normalize-package-data/node_modules/resolve 1670562604198 npm verb unfinished npm timer reifyNode:node_modules/fk-react-native-tab-view 1670562604213 npm verb unfinished npm timer reifyNode:node_modules/fk-react-native-sdk 1670562604213 npm verb unfinished npm timer reifyNode:node_modules/babel-plugin-transform-react-jsx 1670562604224 npm verb unfinished npm timer reifyNode:node_modules/babel-plugin-transform-object-rest-spread 1670562604224 npm verb unfinished npm timer reifyNode:node_modules/babel-plugin-syntax-dynamic-import 1670562604226

Expected Behavior

Should be able to do npm i without deleting package-lock

Steps To Reproduce

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

Environment

  • npm: 8.11.0
  • Node.js: 16.15.1
  • OS Name: Mac 12.6.1
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here
@keerthika-priya keerthika-priya 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 Dec 9, 2022
@milaninfy
Copy link
Contributor

@keerthika-priya can you try replicating this problem on the latest version of npm? (ie. npm i -g npm).
Please fill up complete issues template including Steps to Reproduce, logs and npm config ls output.

@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.

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 Release 8.x work is associated with a specific npm 8 release
Projects
None yet
Development

No branches or pull requests

2 participants