Command seems to be timing out
See original GitHub issueHello, 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:
- Created 3 years ago
- Comments:16
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jonkwheeler Now it’s an option in v13.7.0
Use it like
--npm.timeout=100
(in seconds)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:
npm ping
to see if the registry is upnpm whoami
to see if the current user is authenticatednpm 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.