95. Build Project for Production Deployment using npm run build command in React Redux App - ReactJS

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 47

  • @jaimetheone9150
    @jaimetheone9150 6 หลายเดือนก่อน

    Thanks, friend.
    I now understand what I need to do to take projects to production.
    I've been learning a lot about aws, ec2, s3, ssl, ssh...
    I'm on the right path!

  • @sarthaksingh1500
    @sarthaksingh1500 7 หลายเดือนก่อน +2

    What if we make changes in package.json file and add homepage:"/test/" . How does this work ...

  • @ob7349
    @ob7349 2 ปีที่แล้ว +2

    What if I need make changes already after the projdct is run build. What is the name of that task ???

  • @yogvritti
    @yogvritti ปีที่แล้ว +3

    Hi after npm run build, same build folder is created. But no js code on index.html and my index.html showing blank page. Only header title is coming

    • @0519ryan
      @0519ryan 7 หลายเดือนก่อน

      leela web dev is a sigma hater

  • @arjunp2796
    @arjunp2796 ปีที่แล้ว

    Hi Leela nice info
    no need to deploy node_moduels in production server ? how can application will work with out node modules in production environment

    • @psycoderhertz24
      @psycoderhertz24 ปีที่แล้ว

      node_modules folder contains project dependencies and while you perform npm run build will create an optimized version of your project which contains all the necessary files and dependency required/

  • @nurhamsah_tech
    @nurhamsah_tech 2 ปีที่แล้ว

    thank you very much. you have helped me. very good video

  • @dgiri2333
    @dgiri2333 9 หลายเดือนก่อน

    After production how to uses component external using cdn reference

  • @NagendraprasadC
    @NagendraprasadC ปีที่แล้ว

    In my vscode it is creating a dist folder instead of build folder 🤷 ?Im working with react.js !

  • @ashrafsyed799
    @ashrafsyed799 ปีที่แล้ว

    I create a build for my frontend file but the API calls and networks are linking with the backend and I'm getting 404 not found when I try to log in the calls are not going to the backend folder API calls how do I fix this..?

  • @posieden1664
    @posieden1664 5 หลายเดือนก่อน

    hey Help i get dist folder when i type build command

  • @codingisfun-pranayharishch3001
    @codingisfun-pranayharishch3001 ปีที่แล้ว

    thank you so much sir

  • @onyedikachionu4317
    @onyedikachionu4317 3 ปีที่แล้ว

    if i want to commit the code to my github, do i initialized the build folder or the entire app folder

  • @vin2857
    @vin2857 3 ปีที่แล้ว +1

    thanks for the educative tutorial, can u suggest the best CPU Configuration related to MERN Stack development

    • @LeelaWebDev
      @LeelaWebDev  3 ปีที่แล้ว +1

      Best take the macbook with M1 and ram of 8gb or 16gb(better). It is best. If you are windows user i5 processor is ok. Sadly i am using i3 processor with 8gn ram only.

  • @raj-pl8xz
    @raj-pl8xz ปีที่แล้ว

    How to deploy react applications?
    What are the steps?

    • @LeelaWebDev
      @LeelaWebDev  ปีที่แล้ว

      Will do. In our new react series

  • @SunilLakkakula
    @SunilLakkakula ปีที่แล้ว

    In a single line If I had to ask my question : Configure HTTPS for React Application deployed on AWS EC2 in Production mode

  • @DFCE82
    @DFCE82 2 ปีที่แล้ว

    Superb 😎👍

  • @Krishna-ww3lm
    @Krishna-ww3lm 3 ปีที่แล้ว

    How to stop npm serve -build

  • @User77384a
    @User77384a 3 ปีที่แล้ว +1

    Thanks for making all these videos mate

  • @abdumajidabdullatipov7347
    @abdumajidabdullatipov7347 8 หลายเดือนก่อน

    thank you.
    this video is very useful for me

  • @aravindnaveena5750
    @aravindnaveena5750 2 ปีที่แล้ว

    Hi leela so in my environment there is dev, qa, prod. So the same build files will be deployed on different ftp endpoints right?

  • @ge7579
    @ge7579 8 หลายเดือนก่อน

    Thanks!

  • @junjietan2668
    @junjietan2668 3 ปีที่แล้ว

    Hi leela, thank you for your tutorial. However i have a doubts that regarding between npm run build and webpack. Do we need them both? I have seen lot of tutorial when deployment their application, they dont include webpack however just a question if we deploy a big project, do we need the webpack during the build? It seems to be confuse for me😢
    Thank you

    • @LeelaWebDev
      @LeelaWebDev  3 ปีที่แล้ว

      Yes. I will do a complete a course on webpack

  • @samnayakawadi
    @samnayakawadi 2 ปีที่แล้ว

    Subscribed.

  • @MostafaNassar
    @MostafaNassar 3 ปีที่แล้ว

    Thank you, that was very very good and to the point.

  • @vc_editz4343
    @vc_editz4343 6 หลายเดือนก่อน

    after running it give me this error
    > client@0.1.0 build
    > react-scripts build
    Creating an optimized production build...
    Failed to compile.
    static/css/main.1c724175.css from Css Minimizer plugin
    Error: Unexpected '/'. Escaping special characters with \ may help.
    it create a folder but it give this error folder contain only image

  • @h2nrlc
    @h2nrlc 9 หลายเดือนก่อน

    Hi bro, I use different folder for server, how to point to frontend IP address from backend using cors

  • @JeanRupert-h8e
    @JeanRupert-h8e 3 หลายเดือนก่อน

    48632 Kay Motorway

  • @terry.chootiyaa
    @terry.chootiyaa 2 ปีที่แล้ว +2

    *Hey buddy can you dub this video into an American accent so we can understand you*

    • @ln.thaliaolvera5191
      @ln.thaliaolvera5191 2 ปีที่แล้ว +1

      no mames, yo yo hablo español, muy poco ingles y le entiendo perfectamente lo que dice. El inconveniente de saber más de un idioma.

  • @srinath7318
    @srinath7318 2 ปีที่แล้ว

    Thank you so much for the video. Can you also please make a video how `process.env.NODE_ENV` works for different env like dev qa and prod. how to set up environment variables ln rect. Thanks in advance.

  • @AmirRehman-v2s
    @AmirRehman-v2s ปีที่แล้ว

    it will be better if you record this vedio in urdo becuse you broked the legs of english nobody will understand

    • @LeelaWebDev
      @LeelaWebDev  ปีที่แล้ว +2

      Sure will try. Actually broked is grammatically mistake. It should be broken. Its ok everyone will do mistakes.

    • @DOAKASHU
      @DOAKASHU ปีที่แล้ว

      ​@@LeelaWebDevnah y to speak urdo are u Muslims? Ur hindu nah either english Or hindi better

    • @Melon-Vert
      @Melon-Vert 8 หลายเดือนก่อน +1

      I understood perfectly what he said…

    • @user-gq1ij
      @user-gq1ij 6 หลายเดือนก่อน

      He is saying this because you are Indian and he is from the land which struggles for existence without China 😂. Don't take them seriously