Comments (3)
I have the exact same issue when using the node:12.13.0
Docker container (in CI), which runs 6.12.0. Same issue even after updating its npm
version to 6.14.3
before running npm ci
.
However, somehow, npm ci
in 6.14.3
behaves as intended on my development machine (a mac)
from cli.
Confirming this is still an issue in 6.12.0 as well.
from cli.
I have the same issue when using the node:12.13.0
on the docker container (in gitlab-runner CI) on both commands: npm install
and npm ci
.
I noticed that npm ignores files from .gitignore
when there is no .npmignore
file.
Creating an empty .npmignore
file helps to solve problems locally (on a macOS system).
The strangest thing is that when I remove the node_modules
directory and run the following command locally, it works.
$ docker run --rm --name node-test -v "$PWD":/usr/src/app -w /usr/src/app node:12.13.0 \
sh -c 'npm cache clean --force && npm ci'
I have problems only when trying to run the following command on the CI runner (that uses node:12.13.0
docker image).
from cli.
Related Issues (20)
- [BUG] Run npm ci fails from dockerfile HOT 2
- [BUG] `npm i` splits command line arguments incorrectly HOT 2
- [BUG] When using Docker image, installing package globally is hanging HOT 2
- [BUG] The `postinstall` script of dependencies fires before the `preinstall` script in package.json HOT 4
- [BUG] <title> HOT 1
- [BUG] When using the npm command in MacOS 15.0 Beta, the node icon appears in the Dock HOT 19
- G HOT 1
- [BUG] npm ci workspace broke node_modules
- [BUG] Ctrl+C / SIGINT propagation to child processes broken since 10.3.0 HOT 2
- [BUG] Npm progress bar is missing HOT 1
- [BUG] NPM LATEST VERSION Error
- [BUG] OpenBSD usage failure HOT 1
- corp-jones-damarcus:patch-1 HOT 1
- [BUG] `npm init` does not use locally installed version of given package. HOT 1
- https://github.com/npm/cli/commit/dbe7d983d184fb00c85f7b34839a123057029c8b HOT 2
- [DOCS] npm doesn't install the latest tagged version if engines are invalid HOT 6
- [BUG] npm dist-tag rm only removes the last recently deleted tag HOT 9
- [BUG] `npm publish --provenance` The default value `public` isn't used HOT 5
- [Enchancement] Check files that import the package before uninstalling HOT 1
- [BUG] npm docs with no pkgname arg returns undefined HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.