components icon indicating copy to clipboard operation
components copied to clipboard

Error when deploy on Bitbucket

Open vtr-rivia opened this issue 2 years ago • 0 comments

Description

I've tried to deploy website component using BitBucket Pipelines but I've gotten an error

Here is my output with SLS_DEBUG=* flag

Deploying... Creating or updating the meta IAM Role... Meta IAM Role created or updated with ARN arn:aws:iam::xxxxxxx:role/aplcmi-frontend-meta-role Deploying Bucket dev-aplcmi-frontend to region us-east-1 Checking if bucket dev-aplcmi-frontend exists. Deploying Website Uploading Website files Error: ENOENT: no such file or directory, scandir '/tmp/q1s61hj' at Object.readdirSync (fs.js:955:3) at klawSync (/var/task/node_modules/klaw-sync/klaw-sync.js:13:25) at items (/var/task/utils.js:211:15) at new Promise () at uploadDir (/var/task/utils.js:209:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Website.deploy (/var/task/serverless.js:94:7) at async Runtime.module.exports [as handler] (/opt/nodejs/node_modules/@serverless/core/handler.js:337:24) 13s › Serverless › ENOENT: no such file or directory, scandir '/tmp/q1s61hj'

vtr-rivia avatar May 18 '22 00:05 vtr-rivia