Angular 10 Tutorial #5 - Install Bootstrap in Angular Apps | Angular 10 Tutorial For Beginners

Поділитися
Вставка
  • Опубліковано 8 вер 2024

КОМЕНТАРІ • 102

  • @ritikchoudhary2433
    @ritikchoudhary2433 3 роки тому +2

    hello, I'm facing an error in the console after installing the popper
    "index.js:1 Uncaught ReferenceError: module is not defined at index.js:1" gave path correctly where m I wrong?

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Hi Ritik. Can you pls send details to my email address soorya.aaradhya@gmail.com

    • @pandarzzz
      @pandarzzz 3 роки тому +1

      @@ARCTutorials Hi, is there a solution to this problem? Thanks,

    • @ARCTutorials
      @ARCTutorials  3 роки тому +1

      @@pandarzzz The issue is now resolved. Its due to a particular version of Bootstrap. Please see this video tutorial I created, we have to use Bootstrap v5. ua-cam.com/video/qRlayPjeGoM/v-deo.html

    • @farnoushbabaie7823
      @farnoushbabaie7823 3 роки тому

      Hi. Coming late but I just found this tutorial. The problem you are facing is that the file is not in css folder. It is in "js" folder under node_modules. Just change the css in js and you'll be fine.

  • @atharkazmi4899
    @atharkazmi4899 3 роки тому +3

    I was looking for easy to follow along tutorial, your method seems to be working out the best so far. Enjoy that you keep your videos short and sweet. I would love to see you make videos on SSPA using module federation.

  • @weishianwan9936
    @weishianwan9936 4 місяці тому +1

    **UPDATE**
    For who follow everything in the video in regards to bootstrap v4 or v5. And even managed to compile successfully, but whenever go to the localhost:4200 it does not display the message “Welcome to Bootstrap Framework in Angular”
    Workaround:
    please remember to hit "Ctrl + s" at the files that you made the changes. And run cmd "ng serve" again.

    • @ARCTutorials
      @ARCTutorials  4 місяці тому +1

      Thanks for sharing your knowledge with our community

  • @vanshrajput751
    @vanshrajput751 2 роки тому +1

    Thank you so much ..... For deep efforts that you have put in all the videos.

  • @amanuellebassi7294
    @amanuellebassi7294 3 роки тому +2

    Thanks Sridhar

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Thanks buddy. Drop me email what happ to your interview?

  • @AnandReddy9
    @AnandReddy9 3 роки тому +1

    I like your way of teaching bro thank u very much. Please do more and more tech videos

  • @nomadsoulkarma
    @nomadsoulkarma 2 роки тому

    Your explanations are great and I really enjoy learing angular but it would be nice if they could agree on some standards becaue the errors are endless.

  • @js-girl
    @js-girl 10 місяців тому

    you shouldn't put the bootstrap's CSS file before your project CSS file. It will prevent you from overwriting bootstrap styles in the future

  • @nirladecky667
    @nirladecky667 3 роки тому +3

    NPM BOOTSTRAP INSTALLATION ERROR
    I was getting a lot of deprecated errors when using the "npm install bootstrap popper --save" command. I am using Angular 11 and I found that if I went through each component/library I had successful results. The exception to these commands was that Popper needed to be popper.js in the command line in order to work this way.
    After following each of the install commands separately I saw them added to the package.json file.
    npm install bootstrap --save (result - "bootstrap": "^4.5.3")
    npm install jquery --save (result - "jquery": "^3.5.1")
    npm install popper.js --save (result - "popper.js": "^1.16.1")
    The Popper library had the most issues and declared that it was deprecated and installed v1.16.1 (video shows different version), it then mentions getting the new Popper v2 at @popper/core which looks to me like angular script.
    ** IF THIS IS THE CASE **
    When you add the script lines make sure you add:
    "./node_modules/popper.js/index.js.flow" for the popper directory.
    "./node_modules/jquery/dist/jquery.min.js" for the jquery directory.
    I'm not a pro (actually I am a complete noob to angular) but so far by the end of this video it seems to have worked: it compiles properly and looks the same way as when we used the CDN tags in the index.
    I hope this helps, good luck!

    • @ARCTutorials
      @ARCTutorials  3 роки тому +1

      Hi Nir. I have created step by step process here. Please follow along this tutorial and you should be able to run without any issues ua-cam.com/video/qRlayPjeGoM/v-deo.html

    • @nirladecky667
      @nirladecky667 3 роки тому +1

      @@ARCTutorials This is fantastic, thank you very much for the update!!

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Most welcome 👍

  • @raghuramdamarla20
    @raghuramdamarla20 3 роки тому +1

    Super sir always help full

  • @cid007007
    @cid007007 3 роки тому +1

    Adding cdn links in index.html is easiest way to add bootstrap as i observed till now..

    • @ARCTutorials
      @ARCTutorials  3 роки тому +1

      Hi Dev. Yes its the easiest but not the best option as the CDN links will keep changing, versions will be outdated etc and the most important thing is the dependencies, which are mostly version compatible. Hence we prefer to add it to our application angular.json

  • @dverma587
    @dverma587 3 роки тому +1

    videos are really helpful and the pace is quite good and understandable.

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Glad you liked them deepak 👍

    • @prajnaudupa5676
      @prajnaudupa5676 3 роки тому

      @@ARCTutorials I could install bootstrap and jquery but for popper it is still throwing me the same error

  • @ravindrabangalore2990
    @ravindrabangalore2990 3 роки тому

    way of explanation is good

  • @dineshgs5887
    @dineshgs5887 3 роки тому +1

    Like your videos very much.. Came to know that angular 11 has released.. Try post new video on updates in angular 11..

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Hi Dinesh. Yes Angular 11 is more of smaller maintenance release. I will cover new things about it soon

  • @sourayanbiswas4591
    @sourayanbiswas4591 2 роки тому

    Excellent Tutorial. But one confusion is when you install bootstrap with "npm i" command how do you know before hand which BS version 4 or 5 will get installed? I say this because there is no mention of version in "npm i bootstrap" command.

  • @vidyasagarpinnamaneni7269
    @vidyasagarpinnamaneni7269 2 роки тому +1

    hi sir, i am getting like this 'node' is not recognized as an internal or external command,
    operable program or batch file.
    when i am checking the node

    • @ARCTutorials
      @ARCTutorials  2 роки тому

      You need to install nodejs on ur machine

  • @CHANDANKUMAR-tt5gu
    @CHANDANKUMAR-tt5gu 2 роки тому

    Sir..I m total confused.your writing coding n installing ackeging but what's the output comes.and why we re doing such operations..

  • @zeezee3891
    @zeezee3891 2 роки тому

    Help!! My bootstrap highlighted blue strip is coming at the top of the page. It’s not coming at the bottom like yours.

  • @mphani11
    @mphani11 Рік тому

    Hello I'm facing the problem when I have added the node_modules path. Can you help me out with this

  • @davemarston
    @davemarston 3 роки тому +1

    Hi, I'm confused.
    I was having trouble installing Popper. I read something in this thread that referred me to this tutorial for installation of Bootstrap:- Mean stack project from scratch Part #3 - Install Angular 11, Bootstrap 5 and Express App
    I followed that and everything is working as it should.Only problem is I don't have Popper in the package.json file. Is this correct with Version 5 of Bootstrap. Popper isn't needed?
    Thanks

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Hi David. Popper has undergone changes in its versions. Please install @popperjs/core

  • @gianlucaantonini7808
    @gianlucaantonini7808 3 роки тому +1

    Very nice, thank you.

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Thanks buddy. Do let me know if you have any doubts. I will try and help you as much as i can!!!

    • @gianlucaantonini7808
      @gianlucaantonini7808 3 роки тому

      I have a problem, I want to install bootstrap 5 but popper is not installing for me 😢

  • @SumanthShivashankar
    @SumanthShivashankar 5 місяців тому +1

    X [ERROR] Could not resolve "~bootstrap/dist/css/bootstrap.min.css"
    src/styles.scss:2:8:
    2 │ @import '~bootstrap/dist/css/bootstrap.min.css';
    ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    You can mark the path "~bootstrap/dist/css/bootstrap.min.css" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle. I am getting above .Can u plz help me to resolve the issue.

  • @racedynamics9217
    @racedynamics9217 3 роки тому +1

    I am getting can't bind ngswitch since it isn't a known property after writing that h2 tag and compiling

    • @ARCTutorials
      @ARCTutorials  3 роки тому +1

      Did you import FormsModule in AppModule? If not, you will see this error

    • @racedynamics9217
      @racedynamics9217 3 роки тому

      @@ARCTutorials don't know but when I installed git then this errors gone..

  • @srikanthambaldhage2268
    @srikanthambaldhage2268 3 роки тому +1

    Thankyou.
    Please make a video on login authentication system using api with jwt token

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Hi Srikanth. Yes I will cover authentication system when we reach Angular HTTP, which will be very soon.

    • @srikanthambaldhage2268
      @srikanthambaldhage2268 3 роки тому

      @@ARCTutorials Thankyou

  • @dverma587
    @dverma587 3 роки тому +2

    Due to error i have to install bootstrap and jquery separately, bur while installing popper i am getting error.
    Do we need to use popper or popper.js in npm command.
    Thanks in advance.

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Try this command npm i @popperjs/core

    • @dverma587
      @dverma587 3 роки тому +1

      @@ARCTutorials I have ran this command but now i am seeing popper.js in node modules folder instead of popper. Index.js is also not there, instead popper.js and popper.min.js is present in popper.js->dist-> folder

    • @ARCTutorials
      @ARCTutorials  3 роки тому +1

      @@dverma587 hi Deepak. The popper v1 is deprecated and v2 is having some issues. I would request u to hold on to this as its not needed immediately for you. I will cover it for you

  • @darshananagar3444
    @darshananagar3444 2 роки тому

    Hii when I using npm command for bootstrap , jquery and popper it shows an error like npm err! Code enoent and all other things so what should I do

  • @mahsaha899
    @mahsaha899 3 роки тому +1

    hi sir first of all thank you for your fluent explanation , there is an issue when i want to install popper could you help me ?

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Hi Mahsa. Whats the issue you are facing? Can u pls elaborate more? Whats not working?

    • @mahsaha899
      @mahsaha899 3 роки тому

      @@ARCTutorialshi , tnx for replying , actually i think the problem solved, it was about that >>> npm i popper command did not work and i used command >>> npm install @popperjs/core --save

  • @chrisibarra9988
    @chrisibarra9988 Рік тому

    Hello sir, I managed to do follow everything in the video in regards to popper, jquery & bootstrap. I even managed to compile successfully, but whenever I go to the localhost:4200 it does not display the message “Welcome to Bootstrap Framework in Angular”? what exactly could be the error?

  • @archanaarchu7874
    @archanaarchu7874 Рік тому +1

    How can we install boot strap u have directly shown the page

    • @ARCTutorials
      @ARCTutorials  Рік тому

      Hi Archana. Can u pls tell what issue ur facing? How can i help you

  • @bramhendra
    @bramhendra 3 роки тому +1

    Hi Sir
    i installed the angular11 version and installed the bootstrap using npm.
    after installed the bootstrap i restarted the application.
    however bootstrap not working in my application.
    could you pls help me sir.
    Thx.

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Hi Whats the error you are seeing? Did you stop and start the ng serve command again?

  • @rajeshdammalapati3988
    @rajeshdammalapati3988 3 роки тому

    Sir after copy pasting the links in index.html file when I'm seeing the output color is not coming in the output page

  • @prajnaudupa5676
    @prajnaudupa5676 3 роки тому +2

    hi, when I run this command npm i bootstrap jquery popper --save, I am getting warnings and npm ERR! code ENOENT
    npm ERR! syscall spawn git
    npm ERR! path git
    many errors like above.

    • @ARCTutorials
      @ARCTutorials  3 роки тому +1

      Hi Prajna. Pls try installing them individually like npm i jquery -save

    • @prajnaudupa5676
      @prajnaudupa5676 3 роки тому

      @@ARCTutorials thank you

  • @sirisharapaka5253
    @sirisharapaka5253 3 роки тому +1

    Hi, I am facing the below issue when trying to install the bootstrap jquery popper
    npm ERR! syscall spawn git
    npm ERR! path git
    npm ERR! errno -4058
    npm ERR! enoent An unknown git error occurred
    npm ERR! enoent This is related to npm not being able to find a file.

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Hi Sirisha. Install them individually. Popper js changed so thats y ur getting the error

  • @ssugam1
    @ssugam1 2 роки тому

    bootstrap is installed but can't see the bootstrap and jquery under package json

  • @kolluruprakash
    @kolluruprakash 3 роки тому +1

    I think, in Angular.json file, need to place CSS libraries above the existing global css file called "Styles.scss". Which helps to we can override existing styles of css libraries. Please, provide me you're feedback on this in ASAP

  • @jersiajebasree9143
    @jersiajebasree9143 2 роки тому

    Hello sir, After installing successfully and changing scripts in angular.json i am getting the following error pls can u clarify what i should do
    Error: Schema validation failed with the following errors:
    Data path "/scripts/0" must be object.
    Data path "/scripts/0" must match pattern "\.[cm]?jsx?$".
    Data path "/scripts/0" must match exactly one schema in oneOf.

  • @harshadashinde2233
    @harshadashinde2233 2 роки тому

    Hi sir
    I'm trying to install boostrap but it showing error like this package no longer supported and has been deprecated and in node_module after that only boostrap folder is showing under boostrap subfolders are not showing
    and I'm also trying
    Npm i boostrap@next command to install next version but it showing
    Npm error code ETARGET
    Npm error notarget no matching version found for boostrap@next.
    Npm error notaries in most cases you or one of your dependencies are requesting
    What should I do??

  • @varunarya4965
    @varunarya4965 2 роки тому

    It's not working bcoz it's the old process. Now you have to run a command: ng add @ng-bootstrap/ng-bootstrap

  • @sureshmolabanti4268
    @sureshmolabanti4268 3 роки тому +1

    Is there any way/possible to drag and drop the script files to angular.json page?

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Sorry i didnt get your question. Can u pls elaborate?

    • @sureshmolabanti4268
      @sureshmolabanti4268 3 роки тому

      @@ARCTutorials How we can drag and drop script files in our HTML page like that is possible in angular. JSON page

  • @ranganadham5743
    @ranganadham5743 3 роки тому

    Hi boss I'm getting an error while installing the bootstrap frame work...plz help

  • @ranganadham5743
    @ranganadham5743 3 роки тому

    hi boss I'm getting an error while installing bootstrap frame work...so plz help me to overcome the issue

  • @kalyan2778
    @kalyan2778 3 роки тому

    Hello , Popper is not working for me instead popper.js is coming in script tag it is showing invalid address of popper. While i try to install popper by npm install bootstrap popper --save it is giving me errors I'm using "bootstrap": "^4.6.0",
    "jquery": "^3.6.0",
    "popper.js": "^1.16.1", This are details i can see in dependencies Kindly help. Thanks

  • @CHANDANKUMAR-tt5gu
    @CHANDANKUMAR-tt5gu 2 роки тому

    You do not show what happen on. New page for whom we are working

  • @chandandh6139
    @chandandh6139 2 роки тому

    how to get to know the version of bootstrap?

  • @jerrigyaneswararao756
    @jerrigyaneswararao756 3 роки тому

    I'm getting error after run this command ... Could you explain

  • @rasplili129
    @rasplili129 3 роки тому +1

    downloaded bootstrap but nothing changed in package.json

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Hi Rasplili. Can you pls send me screenshot of issue at soorya.aaradhya@gmail.com

    • @rasplili129
      @rasplili129 3 роки тому

      @@ARCTutorials thank you, it is worked later

  • @adapass
    @adapass 3 роки тому

    I am getting the following error when i try to issue the following command in my project folder command prompt
    C:\Angular 10\crpapp>npm i bootstrap jquery popper --save
    Error:
    C:\Angular 10\crpapp>npm i bootstrap jquery popper
    --save
    npm WARN deprecated debug@4.2.0: Debug versions >=3.2.0 =4

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Looks like you got lower version of Node. You will most likely need to upgrade. Just go to Nodejs website and download the latest stable version

  • @murtazamohammadi9370
    @murtazamohammadi9370 2 роки тому

    I need the notes which you write?

  • @rajguru7012
    @rajguru7012 3 роки тому +1

    Update a Angular 11 for beginner

    • @ARCTutorials
      @ARCTutorials  3 роки тому

      Sure i will cover live project on Angular 11 very soon

  • @CubiqleSystems
    @CubiqleSystems 3 роки тому

    bro i am getting error bootstrap file doesn't exist

  • @elbalagardo43
    @elbalagardo43 3 роки тому

    Nima mat

  • @noelpaul6585
    @noelpaul6585 Рік тому

    Hi, Im facing an issue while installing bootstrap. Its showing like this in the terminal.
    npm ERR! code ENOENT
    npm ERR! syscall spawn git
    npm ERR! path git
    npm ERR! errno -4058
    npm ERR! enoent An unknown git error occurred
    npm ERR! enoent This is related to npm not being able to find a file.

  • @SanjanaKCSanjanaKC
    @SanjanaKCSanjanaKC Рік тому

    Hii ,Im getting below error after installing bootstrap popper
    npm ERR! code ENOENT
    npm ERR! syscall spawn git
    npm ERR! path git
    npm ERR! errno -4058
    npm ERR! enoent An unknown git error occurred
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent
    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\Administrator\AppData\Local
    pm-cache\_logs\2023-02-04T07_07_00_555Z-debug-0.log