Comments (12)
can i see your code as its working perfectly in mine
from chai-backend.
Bro send the file correctly
from chai-backend.
const videoLocalFile = req?.files?.videoFile;
if (!(videoLocalFile && videoLocalFile[0].path)) {
throw new ApiError(400, "Video file is required");
} try this format
from chai-backend.
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.
having the samw issue tried everything you guys said none of them worked :(
someone help pleasee,its getting frustrating now
from chai-backend.
will provide the repo too
from chai-backend.
I think you guys need to check your code once more because my code works wel.
from chai-backend.
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.
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.
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.
also my error is: Cannot read properties of undefined (reading '0')
from chai-backend.
Send me details of your bugs on my twitter account : https://x.com/Vishal____rai
from chai-backend.
Related Issues (20)
- not adding refersh token and access token in register route HOT 3
- Cannot POST /api/v1/users/register HOT 10
- Subscription controllers HOT 2
- Issue Occur in LogOut HOT 7
- MongoServerError: Invalid database name: HOT 5
- While doing API testing the logout is getting failed and getting Unauthorized request `Need Help` HOT 5
- getallvideos in video controller question HOT 2
- Issue logout user HOT 10
- Logout Issue HOT 3
- Cannot POST /api/v1/users/register HOT 7
- Using params
- accessToken -> undefine Solve this Problem
- Refresh token and Access token is not working HOT 1
- JWT malformed HOT 1
- Avatar Upload failed HOT 5
- i got multer error when i am upload the file
- coverImage undefined issue HOT 6
- Error in generating refresh and access token
- Error in connecting to DB after creating my first route. HOT 3
- Error When The Avatar File and CoverImage File Have Same Name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chai-backend.