Error: Invalid src or dest: cp returned EINVAL (cannot copy ?C:UsersnessmOneDriveBureaudata_processing to a subdirectory of self ?C:User
snessmOneDriveBureaudata_processing.sstartifactsc8619373ee18901e2841669aa473ccf558a9204943) ?C:UsersnessmOneDriveBureaudata_processing.sstartifactsc8619373ee18901e2841669aa473ccf558a9204943
Trace: SystemError: Invalid src or dest: cp returned EINVAL (cannot copy ?C:UsersnessmOneDriveBureaudata_processing to a subdirectory of sel
f ?C:UsersnessmOneDriveBureaudata_processing.sstartifactsc8619373ee18901e2841669aa473ccf558a9204943) ?C:UsersnessmOneDriveBureaudata_processing.sstartifactsc8619373ee18901e2841669aa473ccf558a9204943
at __node_internal_captureLargerStackTrace (node:internal/errors:497:5)
at new SystemError (node:internal/errors:257:5)
at new NodeError (node:internal/errors:368:7)
at checkPaths (node:internal/fs/cp/cp:110:11)
at async cpFn (node:internal/fs/cp/cp:65:17)
at async Object.build (file:///C:/Users/nessm/OneDrive/Bureau/data_processing/node_modules/sst/runtime/handlers/python.js:102:13)
at async task (file:///C:/Users/nessm/OneDrive/Bureau/data_processing/node_modules/sst/runtime/handlers.js:56:31)
at async Object.build (file:///C:/Users/nessm/OneDrive/Bureau/data_processing/node_modules/sst/runtime/handlers.js:109:24)
at async file:///C:/Users/nessm/OneDrive/Bureau/data_processing/node_modules/sst/constructs/Function.js:241:32
at process. (file:///C:/Users/nessm/OneDrive/Bureau/data_processing/node_modules/sst/cli/sst.js:58:21)
at process.emit (node:events:526:35)
at process.emit (node:domain:488:12)
at process._fatalException (node:internal/process/execution:159:25)
at processPromiseRejections (node:internal/process/promises:289:13)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
Need help with this error? Post it in #help on the SST Discord https://sst.dev/discord
Process finished with exit code 1
Has anyone encountered this error while deploying an SST (Serverless Stack) project? During the deployment process, I receive the following error message:
NESSMA HAMIDOU is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.