Cannot read property 'path' of undefined

Comments

3 comments

  • Avatar
    Eric Pasos

    Hi Roman,

    The target file in the path may need to have the file extension in addition to the file (otherwise, it is not really available). In addition to the need to install the path package into your project environment, you can also see other recommendations found in this link.

    Hope this helps.

    0
    Comment actions Permalink
  • Avatar
    Roman Armin Rostock

    Thanks for response Eric. No, like it is shown, multer shows the exact path and the path package is default so you not have to install it. Their must be some discord between multer and cloudinary. I could imagine that it is a time problem but I tried everything out, what could handle this. By the way, Images are uploaded without any problem.

    0
    Comment actions Permalink
  • Avatar
    Eric Pasos

    Hi Roman, thanks for the clarification. As the uploading process is successful, accessing the images from your Media Library account can be done by using the delivery URL of the asset. Generating the URL can be done by using one of our SDKs. You could refer to this sample project using Node JS (see source here in Github). Additionally, as the Multer-Storage-Cloudinary is a third-party application, you could also see some other references as described in this document

    Please have a look and see if that could help to clarify the implementations. Thanks.

    0
    Comment actions Permalink

Please sign in to leave a comment.