Forum Discussion

Charisma Riley's avatar
Charisma Riley
Copper Contributor
Jun 20, 2019
Solved

SPFx Dev Environment Toolchain Warnings

Hi, all. First of all, how common is it to be building a dev environment directly in Windows vs a VM or in WSL? I keep thinking that WSL is where I shoudl be working?

 

Next, when setting up the SharePoint Framework Development Toolchain (described here: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/toolchain/sharepoint-framework-toolchain), I get a ton of warnings and deprecation messages for each installation. Is there a more updated guide to walk me through this? Or a place to find out what new versions I should be installing? Surely, I should not need to fixing every one of these components manually?

 

Thanks in advance, guys. Appreciate it!

 

~Charisma

  • Joel Rodrigues's avatar
    Joel Rodrigues
    Jun 21, 2019
    Hi Charisma,

    Ok so there is some confusion here. If you only need to create normal SharePoint framework projects, then you don't need to specifically install the resources on the link you provided.
    Those tools are used by default when you create a new project using the yeoman generator. They are already in your project :)

    Don't specifically install them, and if you did, you can delete and follow only the steps from the link I sent you. That link should have all the tools you need to get started.
    Regarding the warnings when installing nom packages, you will see similar errors when you install the packages on a specific solution (for example a web part)
    You can ignore them and don't try to fix the ones that are related to the packages used by default by SPFx as that may break your project.

    Hope that helps and let me know if you have any other questions

    Joel

7 Replies

    • Charisma Riley's avatar
      Charisma Riley
      Copper Contributor

      Joel Rodrigues Hi, Joel! I actually followed those instructions first, without issue. But these other tools are also recommended as helpful, "The SharePoint Framework toolchain is the set of build tools, framework packages, and other items that manage building and deploying your client-side projects." So, all related. I'm just wondering if there is a more recent conversation or doc where I can find the updated tools, because these all throw warnings and deprecation notices at me.

Resources