You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The renderError function is used to render in a pretty way errors that have been thrown in the app. It extracts some data from the traceback to display the error. In the some situations, the stack trace does not have the format that was expected and the function throws an error.
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
[1] at validateString (internal/validators.js:120:11)
[1] at Object.basename (path.js:1156:5)
[1] at Object.renderError (/Users/loicpoullain/Desktop/react-foal-tuto/backend-app/node_modules/@foal/core/lib/common/utils/render-error.util.js:31:30)
[1] at Object.getResponse (/Users/loicpoullain/Desktop/react-foal-tuto/backend-app/node_modules/@foal/core/lib/core/routes/get-response.js:30:24)
[1] at /Users/loicpoullain/Desktop/react-foal-tuto/backend-app/node_modules/@foal/core/lib/express/create-app.js:86:34
The text was updated successfully, but these errors were encountered:
The
renderError
function is used to render in a pretty way errors that have been thrown in the app. It extracts some data from the traceback to display the error. In the some situations, the stack trace does not have the format that was expected and the function throws an error.The text was updated successfully, but these errors were encountered: