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

Bitbutcket sls deploy Error: ENOTDIR: not a directory, scandir

Jaime Norambuena Gonzalez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2021

Hi, I need help with this error in bitbucket pipeline:

docker image with python 3.8

 

Serverless: Excluding development dependencies...

 

Error ---------------------------------------------------

 

Error: ENOTDIR: not a directory, scandir '/opt/atlassian/pipelines/agent/build/distutils-precedence.pth'

 

Your Environment Information ---------------------------

Operating System: linux Node Version: 10.24.1

Framework Version: 2.51.2

Plugin Version: 5.4.3

SDK Version: 4.2.3

Components Version: 3.13.3

 

sls_err.png

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2021

Hi @Jaime Norambuena Gonzalez

Welcome to the community.

Based on the error message, it seems that the command couldn't locate the directory.

To debug the issue further, I'd recommend testing your Pipelines build locally in a Docker container.

Ideally, if it works locally, it should also work on Pipelines.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events