36 questions
1
vote
2
answers
525
views
npm ci fails on EAS Build with error: package.json and package-lock.json are out of sync
I'm trying to build my Expo project using EAS Build, but I'm getting the following error during the "Install dependencies" phase:
Running "npm ci" in /home/expo/workingdir/build/ ...
-1
votes
1
answer
508
views
npm ci typescript error in my create-react-app
I am trying to deploy and finish my first ever react webpage project.
My code is purely made in js, i dont think i used typesctipt
I've already created front-end using my knowledge and ChatGPT. And I ...
0
votes
0
answers
14
views
NPM ci copies wrong files to node_modules/@quasicomp/myOtherApp-mobile/node_modules/3rdPartyLib
I have two local npm projects - myMainApp and myOtherApp. For both, i install the requirements with npm ci from an existing package-lock.json file. myMainApp has a reference to the other app in it's ...
1
vote
1
answer
1k
views
401 Unauthorized - authentication token not provided, GitHub npm
I have to download a package from my-org with GitHub actions for Node projects.
I have an action like this to make an .npmrc file:
> ${{ inputs.npmrc_path }}
echo "@my-org:registry=https://npm....
0
votes
1
answer
234
views
npm ci is failing intermittently with "error cb() never called!" [email protected] and [email protected]
We have a few build pipelines that are failing intermittently with "error cb() never called!" for npm ci. This error is displayed after it downloaded and extract a random npm package (in ...
1
vote
0
answers
743
views
Lerna + npm packages - how do I run npm install of the build?
I've created a monorepo project with server/client/shared packages.
I have an existing (large) project that I try to apply monorepo behavior to have common code between multiple projects.
I'm using ...
4
votes
3
answers
8k
views
npm ci fails in GitHub Actions
I am working on a pipeline to install npm packages using GitHub Actions, I am getting this error:
npm ERR! code EUSAGE
npm ERR!
npm ERR! The `npm ci` command can only install with an existing package-...
-1
votes
1
answer
105
views
Installing freeCodecamp locally hangs when I get to the npm ci step
I've been trying to install freeCodeCamp repo locally coz I'm doing the Full-stack curriculum and I am in a remote area where the grid is not reliable.
I've got the repo on my compute already. I've ...
2
votes
2
answers
2k
views
Why "npm ci" removes node_modules / all packages?
Why npm ci removes the node_modules / all packages?
If a node_modules is already present, it will be automatically removed
before npm ci begins its install.
1
vote
1
answer
189
views
VS2017 not able to identify the command npm ci
Node version: 8.11.3
I checked out a solution. It includes package-lock.json.
So, I am trying to run npm ci on the instance.
Unfortunately, it is not working.
I am getting the message:
Usage: npm <...
6
votes
3
answers
10k
views
npm ci giving Conflicting peer dependency
I am trying to install the dependencies from docker file with command RUN npm ci. But I am getting the following error Conflicting peer dependencies. Fix the upstream dependency conflict, or retry ...
1
vote
0
answers
116
views
Should .gitignore be modified to include ./node_modules/.package-lock.json (aka: lockfileVersion 3)?
This is a commonly asked question, but a little different this time. It seems the developers of Node.js have chosen to make NPM register the standard v2 package-lock.json in the project root (or ...
1
vote
0
answers
404
views
'npm ci' command is not working as expected
I have installed a library with version 1.0.0 and then I have modified package.json file with version 1.0.3 and then I run "npm ci" and expecting it should not update the package as it ...
0
votes
0
answers
1k
views
React App wont run using npm run dev, by use of concurrently
I am working on a React app that I just pulled down from Github. I ran an npm ci once pulled down and opened the project hoping it would run. I'm getting an error when I am trying to run the client ...
3
votes
2
answers
3k
views
Azure Devops: The given cache key has changed in its resolved value between restore and save steps;
I am struggling with one warning which shows in Azure Devops.
##[warning]The given cache key has changed in its resolved value between restore and save steps;
original key: npm|"Linux"|...