question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Command seems to be timing out

See original GitHub issue

Hello, we’re running into an issue where running release-it to create a new minor version in our private artifactory repository. Here’s the npm command that just runs release-it under the hood.

DEBUG=release-it:* npm run release -- minor --ci --verbose --disable-metrics

The only error I can find is that it seems to be timing out. But we never had this issue before. And the npm *-debug.log file doesn’t give any information other than the command failing. Can anyone help? Thanks!

Error:

npm notice PING https://artifacts.werally.in/artifactory/api/npm/npm
****
2020-04-03T17:23:03.365Z release-it:shell { command:
   'npm whoami --registry https://artifacts.werally.in/artifactory/api/npm/npm',
  options: {},
  code: 0,
  stdout: ****,
  stderr: '' }
0.3.1
2020-04-03T17:23:03.784Z release-it:shell { command:
   'npm show @rally/chatterbox-ui@latest version --registry https://artifacts.werally.in/artifactory/api/npm/npm',
  options: { write: false },
  code: 0,
  stdout: '0.3.1',
  stderr: '' }
ERROR Timed out after 10000ms.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @rally/chatterbox-ui@0.3.1 release: `release-it "minor" "--ci" "--verbose" "--disable-metrics"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @rally/chatterbox-ui@0.3.1 release script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/.npm/_logs/2020-04-03T17_23_13_004Z-debug.log

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16

github_iconTop GitHub Comments

2reactions
webprocommented, Aug 25, 2020

@jonkwheeler Now it’s an option in v13.7.0

Use it like --npm.timeout=100 (in seconds)

1reaction
webprocommented, Apr 8, 2020

Didn’t receive any other complaints about this and there have been no changes regarding this command, so I’m going to close this issue.

Skipping the checks means:

  • No npm ping to see if the registry is up
  • No npm whoami to see if the current user is authenticated
  • No npm show version to check the latest version in the registry (or if it’s a new package).

Additionally, I want to add a check whether the user is a package collaborator.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Command Timeout Error and How to Fix It?
a phenomenon where a read/write operation is canceled due to no response from the drive.
Read more >
Timeout - delay in seconds - Windows CMD - SS64.com
Timeout will pause command execution for a number of seconds, after which it continues without requiring a user keystroke. If the user does...
Read more >
CommandTimeout seems to have no effect Queries still timing ...
I've programatically set some of the CommandTimeouts on the command objects but the calls to the store procedures still appear to be timing...
Read more >
What does the command "timeout" do in Windows? - Super User
This utility accepts a timeout parameter to wait for the specified time period (in seconds) or until any key is pressed. It also...
Read more >
Copy Command TimeOut causes error but completes ...
My company is using an older version of CatTools 3.6 and i'm having an issue where running the Copy command times out during...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found