Hi there,
I am trying to deploy my backend using atlassian/serverless-deploy:1.5.0. But I am getting the following error :
Can somebody help resolve this error please? The other thing is it doesn't use eslint-config-prettier at all. Not sure why its referencing it though.
Error: ENOENT: no such file or directory, stat '/opt/atlassian/pipelines/agent/build/node_modules/.bin/eslint-config-prettier'at Object.statSync (node:fs:1583:3)at Object.statSync (/opt/atlassian/pipelines/agent/build/node_modules/graceful-fs/polyfills.js:319:16)at checkStats (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:171:22)at checkPaths (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:183:31)at copyDirItem (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:117:20)at /opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:111:39at Array.forEach (<anonymous>)at copyDir (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:111:23)at mkDirAndCopy (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:106:3)at onDir (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:97:37)at getStats (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:43:37)at startCopy (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:36:10)at copyDirItem (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:118:10)at /opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:111:39at Array.forEach (<anonymous>)at copyDir (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:111:23)at mkDirAndCopy (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:106:3)at onDir (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:97:37)at getStats (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:43:37)at startCopy (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:36:10)at Object.copySync (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/node_modules/fs-extra/lib/copy-sync/copy-sync.js:31:10)at TypeScriptPlugin.<anonymous> (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/dist/src/index.js:207:20)at Generator.next (<anonymous>)at /opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/dist/src/index.js:8:71at new Promise (<anonymous>)at __awaiter (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/dist/src/index.js:4:12)at TypeScriptPlugin.copyDependencies (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/dist/src/index.js:199:16)at TypeScriptPlugin.<anonymous> (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/dist/src/index.js:60:28)at Generator.next (<anonymous>)at fulfilled (/opt/atlassian/pipelines/agent/build/node_modules/serverless-plugin-typescript/dist/s@itsjayalekharamesh hi. It is hard to understand what is going wrong. Try to use serverless deploy cli directly to find the root cause.
Regards, Igor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.