Coder Social home page Coder Social logo

Comments (12)

0x-pankaj avatar 0x-pankaj commented on June 11, 2024

can i see your code as its working perfectly in mine

from chai-backend.

Luckily45 avatar Luckily45 commented on June 11, 2024

Bro send the file correctly

from chai-backend.

ganeswar07 avatar ganeswar07 commented on June 11, 2024

const videoLocalFile = req?.files?.videoFile;
if (!(videoLocalFile && videoLocalFile[0].path)) {
throw new ApiError(400, "Video file is required");
} try this format

from chai-backend.

abhi-20 avatar abhi-20 commented on June 11, 2024

This is a issue of cloudinary. It is unable to read the .env files. Try writing
"import * as dotenv from "dotenv";

dotenv.config()

at top of cloudinary.js file

from chai-backend.

snehitshh avatar snehitshh commented on June 11, 2024

having the samw issue tried everything you guys said none of them worked :(
someone help pleasee,its getting frustrating now

from chai-backend.

snehitshh avatar snehitshh commented on June 11, 2024

will provide the repo too

from chai-backend.

Vishalra-i avatar Vishalra-i commented on June 11, 2024

I think you guys need to check your code once more because my code works wel.

from chai-backend.

snehitshh avatar snehitshh commented on June 11, 2024

I think you guys need to check your code once more because my code works wel.

istg I have been on it for 2 days idk what's the problem

from chai-backend.

Vishalra-i avatar Vishalra-i commented on June 11, 2024

ok ....you can check my repo for solution...https://github.com/Vishalra-i/VideoTube-Youtube-clone/blob/main/src/controller/user.controller.js

from chai-backend.

snehitshh avatar snehitshh commented on June 11, 2024

https://github.com/snehitshh/backendStructuring
this is my repo, i cross checked it with you repo(only user.controller) and i find absolutely nothing
it still shows cannot read properties of undefined :(

from chai-backend.

snehitshh avatar snehitshh commented on June 11, 2024

also my error is: Cannot read properties of undefined (reading '0')

from chai-backend.

Vishalra-i avatar Vishalra-i commented on June 11, 2024

Send me details of your bugs on my twitter account : https://x.com/Vishal____rai

from chai-backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.