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
I am also having the same error here, the error is saying "Cannot read properties of undefined (reading 'path')
There was an error creating project (status code: 500", but in my case the when I click and submit a new project the file is being uploaded and saved into the "uploads" folder, however it would throw that error. I have also tested it using postman and it works with no errors, I think the problem is in the frontend part but I am not really sure. I hope there is a fix to this. I am using windows by the way.
There was an error creating project (status code: 500", but in my case the when I click and submit a new project the file is being uploaded and saved into the "uploads" folder, however it would throw that error. I have also tested it using postman and it works with no errors, I think the problem is in the frontend part but I am not really sure. I hope there is a fix to this. I am using windows by the way.
Here is the my Front end(Form.tsx):
Then here is my upload.js for the multer middleware:
Additionally here is my project.controller.js for creating a new project:
Then hear is the project.routes.js for the routing:
Originally posted by @smolkawaii1 in #559 (comment)
The text was updated successfully, but these errors were encountered: