Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

`npm ci` breaks pipeline

Hugo Denisse January 16, 2023

Bitbucket Pipelines are broken since this morning, using `npm ci` results in the following error:

npm ERR! code ERR_FS_EISDIR
npm ERR! syscall rm
npm ERR! path /opt/atlassian/pipelines/agent/build/node_modules/.bin
npm ERR! errno 21
npm ERR! Path is a directory: rm returned EISDIR (is a directory) /opt/atlassian/pipelines/agent/build/node_modules/.bin
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-01-16T11_00_41_121Z-debug-0.log

Note that it was working previously

3 comments

acalinciuc January 16, 2023

same issue here

acalinciuc January 17, 2023

it seems that there is a problem with npm ci and not with bamboo.

use `rm -rf ui/node_modules`

alexandru_cazacincu January 16, 2023

I have it as well

Dan Burzynski January 17, 2023

I had this issue. It looks like there's a bug in npm v9.3.0. Downgrade to 9.2.0 and it'll work fine

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events