node_modules/@nestjs/platform-express/adapters/express-adapter.d.ts:2:23 - error TS2305: Module '"../../common/interfaces/external/cors-options.interface"' has no exported member 'CorsOptionsDelegate'. 2 import { CorsOptions, CorsOptionsDelegate } from '@nestjs/common/interfaces/external/cors-options.interface'; ~~~~~~~~~~~~~~~~~~~ [18:19:12] Found 1 error. Watching for file changes.
Make sure the id arugment of the updateOne method in the UserService is being passed in properly. I had the same issue until I noticed the id property in the req.user was undefined because I signed my jwt payload to have the id be called 'sub'
The entire series is awesome. I though was wondering if you could create a series as Angular 8 or 9 on client plus NestJS,GraphQL,PostgreSql (or mysql) as server setup.
Hi, thanks for the great feedback! I am not quite sure what you mean, this series here is Angular on the frontend and NestJS/Postgres on the backend. I can sure make later something about graphql and when it is useful. Or what exactly do you need? You can always follow me on twitter, to stay up to date with the uploading schedule - would also post here in the news section, but this only works, if you have over 1k subscribers
@@TommiCodes yes I meant the Graphql part, sadly I am not using any social networking sites since 2012, it was difficult to loose them but now I'm much sober and can focus more on work 😁
@@nbaua3454 Yeah, I definetely feel this! :) I will add GraphQL to my list, but it will take several weeks/months to appear here, since the list gets longer and longer :D and i am just doing this in my freetime
@@TommiCodes appreciate that, I know we're all in same boat, this is work of passion, few weeks are fine with me as long as they help the community. I love working on nestjs and nrwl in perticular, my video skills are not as good as yours else would have made a course as well.
Hi, i'm fairly new to NestJs, documenets and other tutorials I saw mostly use Promises, But u are using Observables. Can u please tell me why? and what benefits of this.?
Here you can see the difference between promises & observables --> "Generally, the Observable pattern is an extended Promise pattern, with a lot more tools and functionality. It is up to you to decide to limit the code with Promises or not. It was first a custom libary, then got included in ES2016." more --> stackoverflow.com/questions/50269671/when-to-use-promise-over-observable
Hey Thomas, is it possible to resize already uploaded image using sharp or whatever? can you record video for this? I'm trying all day long and no result :|
Following this tutorial i encounter the following situation: Argument of type 'string' is not assignable to parameter of type 'Doc[]'. This is at the following line: return of(res.sendFile(join(process.cwd(), 'uploads/profileImages/' + imagename))). Is there anyone that encountered this and have any ideea how to solve it?
Thank you for the video! Works great :)
Thanks for the great feedback!
Great work. Good luck. You are the best.
Thanks! Great to hear :)
node_modules/@nestjs/platform-express/adapters/express-adapter.d.ts:2:23 - error TS2305: Module '"../../common/interfaces/external/cors-options.interface"' has no exported member 'CorsOptionsDelegate'.
2 import { CorsOptions, CorsOptionsDelegate } from '@nestjs/common/interfaces/external/cors-options.interface';
~~~~~~~~~~~~~~~~~~~
[18:19:12] Found 1 error. Watching for file changes.
Thanks! Great video :)
Thank you for the feedback :)
Is it possible to send POST req image file and data together?
you managed to do that ?
Hi Thomas I am having error when uploading to database. Error is " Empty criteria(s) are not allowed for the update method. +4050ms"
Make sure the id arugment of the updateOne method in the UserService is being passed in properly. I had the same issue until I noticed the id property in the req.user was undefined because I signed my jwt payload to have the id be called 'sub'
The entire series is awesome.
I though was wondering if you could create a series as Angular 8 or 9 on client plus NestJS,GraphQL,PostgreSql (or mysql) as server setup.
Hi, thanks for the great feedback!
I am not quite sure what you mean, this series here is Angular on the frontend and NestJS/Postgres on the backend.
I can sure make later something about graphql and when it is useful.
Or what exactly do you need?
You can always follow me on twitter, to stay up to date with the uploading schedule - would also post here in the news section, but this only works, if you have over 1k subscribers
@@TommiCodes yes I meant the Graphql part, sadly I am not using any social networking sites since 2012, it was difficult to loose them but now I'm much sober and can focus more on work 😁
@@nbaua3454 Yeah, I definetely feel this! :)
I will add GraphQL to my list, but it will take several weeks/months to appear here, since the list gets longer and longer :D and i am just doing this in my freetime
@@TommiCodes appreciate that, I know we're all in same boat, this is work of passion, few weeks are fine with me as long as they help the community. I love working on nestjs and nrwl in perticular, my video skills are not as good as yours else would have made a course as well.
Great tutorial. Did you already made a video about AWS S3 upload?
No, atm not.
But it's on the list :)
@@TommiCodes do you use specific library foe was w3 ? or can you give me any Idea about that?
@@aseertal7zen You mean aws s3?
There should be the "aws-sdk" package from aws
Hi, i'm fairly new to NestJs, documenets and other tutorials I saw mostly use Promises, But u are using Observables. Can u please tell me why? and what benefits of this.?
Here you can see the difference between promises & observables -->
"Generally, the Observable pattern is an extended Promise pattern, with a lot more tools and functionality. It is up to you to decide to limit the code with Promises or not. It was first a custom libary, then got included in ES2016."
more --> stackoverflow.com/questions/50269671/when-to-use-promise-over-observable
how to use it with angular ?
are you german?
your accent seems like it
Hey Thomas, is it possible to resize already uploaded image using sharp or whatever? can you record video for this? I'm trying all day long and no result :|
Should be possible.
I can add it to my list, but will take some time till video will be published.
You could resize it also before upload, have a read here stackoverflow.com/questions/23945494/use-html5-to-resize-an-image-before-upload
Following this tutorial i encounter the following situation: Argument of type 'string' is not assignable to parameter of type 'Doc[]'. This is at the following line: return of(res.sendFile(join(process.cwd(), 'uploads/profileImages/' + imagename))). Is there anyone that encountered this and have any ideea how to solve it?
Can you share a github link, so we can investigate further?
Thankyou!
bruh help I'm overwhelmed
Thanks