SAP/ui5-tooling

⚠️ Process Failed With Error Error Message: The "path" argument must be of type string. Received undefined

poonambatra07 opened this issue · 3 comments

Stack Trace: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at new NodeError (node:internal/errors:393:5) at validateString (node:internal/validators:163:11) at Object.resolve (node:path:1098:7) at module.exports (/home/poonam/AWA_NEW/awa-dom/workflow/ui/sandbox/node_modules/ui5-middleware-cfdestination/lib/cfdestination.js:42:29) at customMiddleware (file:///home/poonam/AWA_NEW/awa-dom/workflow/ui/sandbox/node_modules/@ui5/cli/node_modules/@ui5/server/lib/middleware/MiddlewareManager.js:313:53) at async MiddlewareManager.addMiddleware (file:///home/poonam/AWA_NEW/awa-dom/workflow/ui/sandbox/node_modules/@ui5/cli/node_modules/@ui5/server/lib/middleware/MiddlewareManager.js:121:16) at async MiddlewareManager.addCustomMiddleware (file:///home/poonam/AWA_NEW/awa-dom/workflow/ui/sandbox/node_modules/@ui5/cli/node_modules/@ui5/server/lib/middleware/MiddlewareManager.js:295:4) at async MiddlewareManager.applyMiddleware (file:///home/poonam/AWA_NEW/awa-dom/workflow/ui/sandbox/node_modules/@ui5/cli/node_modules/@ui5/server/lib/middleware/MiddlewareManager.js:52:3) at async serve (file:///home/poonam/AWA_NEW/awa-dom/workflow/ui/sandbox/node_modules/@ui5/cli/node_modules/@ui5/server/lib/server.js:178:2) at async serve.handler (file:///home/poonam/AWA_NEW/awa-dom/workflow/ui/sandbox/node_modules/@ui5/cli/lib/cli/commands/serve.js:148:33)

Hi @poonambatra07 ,

Thank you for your ticket!

According to the stack trace, it seems more like an exception from the ui5-middleware-cfdestination package, then something from the UI5 Tooling.

Could you elaborate a bit more and provide a sample code/app where we could reproduce the issue?

Cheers

npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network
settings.

I'm afraid this is an issue with your npm installation. We cannot help you here.