Setup SPFX Docker Container

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • Code Location : github.com/muk...
    Give stars if you like.
    Subscribe to my channel. if you want content like step by step courses.
    All my courses are free on youtube.

КОМЕНТАРІ • 12

  • @edencanada
    @edencanada 2 місяці тому +1

    Mac doesn't allow creating folders started with period (i.e. ".devcontainer") What is the solution?

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

    I am unable to install Docker container as while installing its taking a lot of C drive space and my drive is getting full. Is there a way I can install it in a different drive. Checked many articles in google but didn't get much help.
    Also, thanks for the videos, they are very helpful.

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

      Hi @tejeshandsoniya , Glad you liked it. Please subscribe and share it to your friends.
      can you check this article this might help
      exploringtm1.com/how-to-point-docker-at-a-different-drive/#:~:text=Assuming%20that%20you%20have%20successfully,%2C%20e.g.%20%E2%80%9CE%3A%5CDocker%E2%80%9D
      Best Regards
      Mukesh Ranjan

    • @aadarshvalsange8548
      @aadarshvalsange8548 7 місяців тому

      sir, I want to learn SPFX. Can I Use your tenant to learn, as you Know Microsoft has discontinued there SAndbox program and we are not able to create our own tenant. I will pay for you to use your tenant

  • @sohaibalvi6989
    @sohaibalvi6989 8 місяців тому

    Hello Sir. due to automatic update of vs code the run as container is not working . i update the vs code and docker with latest version then i use SPFx 1.17 version it works. Is 1.17 is fine to work? or should i work on 1.14?

    • @skillspragati
      @skillspragati  8 місяців тому

      Hi Sohaib, If you do not automatically get prompted, use the command palette (F1) and select Remote Containers: Reopen in Container.
      Check this link it will help you
      github.com/pnp/sp-dev-fx-webparts/wiki/Opening-a-sample-using-a-development-container

    • @raito2246
      @raito2246 8 місяців тому

      Try use previous version vscode 1.85 and set to not update automatically. Works for me.

    • @skillspragati
      @skillspragati  8 місяців тому

      @@raito2246 . Thanks @ratio2246 you are amazing. keep sharing.

  • @edencanada
    @edencanada 2 місяці тому

    I see *vscode ➜ /workspaces/Runtime1.12 $* in the terminal.
    And, from 10:30 onwards nothing worked for me as mentioned in the video.
    For example: I got *bash: npm: command not found.*
    Not sure what I am doing wrong.

    • @edencanada
      @edencanada 2 місяці тому

      I found the reason. I had created a folder "devcontainer". I renamed it to ".devcontainer" and it worked. All good now.

  • @palashlavaniya4838
    @palashlavaniya4838 3 місяці тому

    Sir I'm getting error while Opening dev container with code
    [14810 ms] Command failed: ls -a c:/SPFX exercise/SPFx/Runtime 1.12
    [14811 ms] ls: cannot access 'c:/SPFX exercise/SPFx/Runtime 1.12': No such file or directory
    [14811 ms] Exit code 2

    • @skillspragati
      @skillspragati  3 місяці тому

      i think the folder should have without space try to put into the folder which don't have space in the path.