-
Notifications
You must be signed in to change notification settings - Fork 4k
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 ci fails on trying to chmod bin/cdk #12354
Comments
Seeing this as well with v1.78.0 |
Getting this with |
Switching from npm 7.3.0 to npm 6.14.11 solved the problem for me. |
Seeing this as well. Currently using cdk 1.88.0 and npm 7.4.3. Encountering both locally (macOS) and in builds (amazon linux AMIs). Dropping back to 6.14.10 and rebuilding my lock file appears to have fixed the problem. |
Also happens with npm 7.5.3 and seems to be an issues with other packages as well: appium/appium#15095 Maybe it's a certain pattern, that is currently broken in npm 7? |
I've seen the same problem with npm 7.5.4 and CDK 1.88.0 and 1.89.0. CDK 1.87.0 seems to work on My Mac but not on a Linux container in Jenkins. Mac details:
I'm not sure of the details of my Linux container. Another team manages that. Looks like the root cause is probably npm/cli#2251 |
Also happens on npm 7.5.3/7.5.4 and CDK 1.90.0. |
I also happened with NPM (7.5.3 | 7.5.4) and CDK (1.90.0 | 1.90.1). Update)
|
Had to run the following: rm -rf node_modules package-lock.json npm cache clean -f npm install (from aws/aws-cdk#12354)
Seeing the same issue. Deleting package-lock.json is not really an acceptable solution because it defeats the purpose of running |
npm 7.5.5+ and 7.6.0+ solved this issue for me. |
Exactly, I want to use my package-lock.json. |
Haven't observed this in quite some time. |
|
I use containers in my CI/CD pipeline that have specific versions of CDK globally preinstalled. When running npm ci I get this error
Note that the container is pristine, there's no node_modules folder yet.
Here are my devDependencies:
I've already tried different versions of CDK, more recent versions of the dependent libraries - it doesn't work.
To the best of my knowledge I have started observing this behaviour since upgrading to npm 7.3.0 (from 6.14.5), going back to an older version didn't change the behavious.
Here's now the folder in question looks like when the install fails:
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: