Skip to main content

Cloudinary node.js plugin in Vue.js SPA project

Comments

6 comments

  • Nadav Ofir

    Hi Ian,

    Seems that what you really need here is the cloudinary-core package rather than the Node.js one. Could you try `npm install cloudinary-core` instead?

    Let me know if this helps solving this issue.

    0
  • Ian Burry

    That's just what I was looking for. Thanks

    0
  • Jeff Lacey

    I'm having a similar problem with this. I've installed cloudinary-core.

    Error during compile:


    This dependency was not found:
    * fs in ./~/cloudinary/lib/uploader.js
    To install it, you can run: npm install --save fs

    and "npm install --save fs" doesn't help.

     

    Well, maybe not. If I include nothing, I'm able to compile and upload just fine.

    0
  • Itay Taragano

    Hi Jeff,

    When you said "cloudinary-core", did you refer to https://github.com/cloudinary/pkg-cloudinary-core ?

    Because if so, then note that this is a JavaScript library rather than a Node.js one.

    0
  • Jeff Lacey

    No, I just pulled it in via node, but that wasn't the problem. It was my lack of skills using Vue. Based on internet searches, I believed I would have to use "import cloudinary..." in my Vue component. I ended up removing the import to get it to compile and then I found that it worked fine without an import.

    0
  • Itay Taragano

    Thanks a lot for the update, I'm glad it's working for you now :)

    0

Post is closed for comments.