-
Notifications
You must be signed in to change notification settings - Fork 979
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
Running npm the first time on aws/codebuild/standard:7.0
takes 12 seconds
#723
Comments
Just tried |
|
Also, a weird scenario, simply running apt installs, will somehow magically speed up npm run. Is it a filesystem warm up? Is it some background job that does some optimization?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running
npm
CLI for the first time on CodeBuild takes 12s seconds. And that's in 15 GB memory, 8 vCPUs.I suspect it has something to do with corepack. It silently tries to update
npm
or maybeapt-get
; I think it has a similar behaviour.But I tried disabling corepack via
corepack disable
and also setting various env options to turn off different behaviours. But nothing seems to have any effect.Any ideas?
Shouldn't npm be pre-installed by default?
The text was updated successfully, but these errors were encountered: