-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to post products #10
Comments
@priya0607jain have you made an empty folder named 'uploads' to the path C:\Users\Priya\Desktop\sample\node-restful-api-tutorial-13-controllers\uploads before making any post or get request |
@parammittal16 yes I already have. Still could not solve it. |
Or there could be because of the double \ |
i have a code that post images served in heroku and conected to AltasDB an upload well but after few minutes i cant no longer access to the image posted before. |
I have not altered any configuration in the Maximillian's code. I am following the same code but still not able to post images. Again and again the error of 'path not define' or 'no ENOENT directory exists' type. |
Are u working on Linux or Mac ? |
Neither of them. Windows |
@priya0607jain |
I am following the same procedures as per the source code but still not able to post the data to mlab. Getting the following error in postman:
{ "error": { "message": "ENOENT: no such file or directory, open 'C:\\Users\\Priya\\Desktop\\sample\\node-restful-api-tutorial-13-controllers\\uploads\\2018-06-30T15:31:36.292ZCocker-Spaniel-Puppies-For-Sale-600x600.jpg'" } }
I have tried multiple times the same code but all useless. Kindly help out as soon as possible as it is urgent.
The text was updated successfully, but these errors were encountered: