SOLVED
Home

SPFx Dev Environment Toolchain Warnings

%3CLINGO-SUB%20id%3D%22lingo-sub-712163%22%20slang%3D%22en-US%22%3ERe%3A%20SPFx%20Dev%20Environment%20Setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712163%22%20slang%3D%22en-US%22%3EHi%20Charisma%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20are%20talking%20about%20setting%20up%20your%20dev%20environment%20machine%2C%20then%20this%20link%20may%20be%20more%20suitable%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fset-up-your-development-environment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Fset-up-your-development-environment%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EApologies%20if%20I%20got%20it%20wrong%3CBR%20%2F%3EJoel%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712303%22%20slang%3D%22en-US%22%3ERe%3A%20SPFx%20Dev%20Environment%20Setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712303%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9907%22%20target%3D%22_blank%22%3E%40Joel%20Rodrigues%3C%2FA%3E%26nbsp%3BHi%2C%20Joel!%20I%20actually%20followed%20those%20instructions%20first%2C%20without%20issue.%20But%20these%20other%20tools%20are%20also%20recommended%20as%20helpful%2C%20%22The%20SharePoint%20Framework%20toolchain%20is%20the%20set%20of%20build%20tools%2C%20framework%20packages%2C%20and%20other%20items%20that%20manage%20building%20and%20deploying%20your%20client-side%20projects.%22%20So%2C%20all%20related.%20I'm%20just%20wondering%20if%20there%20is%20a%20more%20recent%20conversation%20or%20doc%20where%20I%20can%20find%20the%20updated%20tools%2C%20because%20these%20all%20throw%20warnings%20and%20deprecation%20notices%20at%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712453%22%20slang%3D%22en-US%22%3ERe%3A%20SPFx%20Dev%20Environment%20Setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712453%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20shouldn't%20need%20to%20install%20those.%20What%20are%20you%20trying%20to%20achieve%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712482%22%20slang%3D%22en-US%22%3ERe%3A%20SPFx%20Dev%20Environment%20Setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712482%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9907%22%20target%3D%22_blank%22%3E%40Joel%20Rodrigues%3C%2FA%3E%26nbsp%3BI%20don't%20have%20a%20goal%20other%20than%20installing%20what%20is%20needed%20to%20build%20web%20parts.%20These%20are%20described%20on%20the%20page%20as%2C%20%22the%20set%20of%20build%20tools%2C%20framework%20packages%2C%20and%20other%20items%20that%20manage%20building%20and%20deploying%20your%20client-side%20projects.%22%20They%20are%20in%20groups%3A%26nbsp%3B%3CSTRONG%3ESharePoint%20Framework%20packages%3C%2FSTRONG%3E%20(I%20figured%20these%20were%20pretty%20essential%20or%20they%20wouldn't%20be%20listed%20here%2C%20and%20they%20involve%20some%20components%20I%20already%20believe%20to%20be%20pretty%20essential%2C%20such%20as%20the%20SharePoint%20generator%20and%20the%20workbench)%20and%26nbsp%3B%3CSTRONG%3ECommon%20build%20tool%20packages%3C%2FSTRONG%3E%2C%20which%20I%20also%20see%20as%20things%20people%20probably%20use%20when%20they%20build%20this%20stuff.%20So%2C%20I%20am%20just%20asking%2C%20where%20can%20I%20find%20an%20updated%20version%20of%20this%20since%20the%20tools%20that%20they%20list%20here%20are%20all%20coming%20back%20with%20tons%20of%20warnings%20and%20deprecation%20notices%20when%20they%20are%20installed.%20But%20maybe%20the%20real%20question%20is%3A%20are%20people%20not%20using%20these%20anymore%3F%20And%20if%20not%2C%20what%20is%20a%20better%20resource%20for%20me%20to%20find%20the%20additional%20packages%20that%20may%20be%20needed%20when%20building%20out%20today's%20web%20parts%20and%20hosted%20solutions%20for%20SharePoint%20Online%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712098%22%20slang%3D%22en-US%22%3ESPFx%20Dev%20Environment%20Toolchain%20Warnings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712098%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20all.%20First%20of%20all%2C%20how%20common%20is%20it%20to%20be%20building%20a%20dev%20environment%20directly%20in%20Windows%20vs%20a%20VM%20or%20in%20WSL%3F%20I%20keep%20thinking%20that%20WSL%20is%20where%20I%20shoudl%20be%20working%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENext%2C%20when%20setting%20up%20the%20SharePoint%20Framework%20Development%20Toolchain%20(described%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Ftoolchain%2Fsharepoint-framework-toolchain%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Ftoolchain%2Fsharepoint-framework-toolchain%3C%2FA%3E)%2C%20I%20get%20a%20ton%20of%20warnings%20and%20deprecation%20messages%20for%20each%20installation.%20Is%20there%20a%20more%20updated%20guide%20to%20walk%20me%20through%20this%3F%20Or%20a%20place%20to%20find%20out%20what%20new%20versions%20I%20should%20be%20installing%3F%20Surely%2C%20I%20should%20not%20need%20to%20fixing%20every%20one%20of%20these%20components%20manually%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%2C%20guys.%20Appreciate%20it!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E~Charisma%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-712098%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edev%20environment%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Edevelopment%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Einstallation%20issues%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esetup%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESPFx%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETroubleshooting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712722%22%20slang%3D%22en-US%22%3ERe%3A%20SPFx%20Dev%20Environment%20Setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712722%22%20slang%3D%22en-US%22%3EHi%20Charisma%2C%3CBR%20%2F%3E%3CBR%20%2F%3EOk%20so%20there%20is%20some%20confusion%20here.%20If%20you%20only%20need%20to%20create%20normal%20SharePoint%20framework%20projects%2C%20then%20you%20don't%20need%20to%20specifically%20install%20the%20resources%20on%20the%20link%20you%20provided.%3CBR%20%2F%3EThose%20tools%20are%20used%20by%20default%20when%20you%20create%20a%20new%20project%20using%20the%20yeoman%20generator.%20They%20are%20already%20in%20your%20project%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDon't%20specifically%20install%20them%2C%20and%20if%20you%20did%2C%20you%20can%20delete%20and%20follow%20only%20the%20steps%20from%20the%20link%20I%20sent%20you.%20That%20link%20should%20have%20all%20the%20tools%20you%20need%20to%20get%20started.%3CBR%20%2F%3ERegarding%20the%20warnings%20when%20installing%20nom%20packages%2C%20you%20will%20see%20similar%20errors%20when%20you%20install%20the%20packages%20on%20a%20specific%20solution%20(for%20example%20a%20web%20part)%3CBR%20%2F%3EYou%20can%20ignore%20them%20and%20don't%20try%20to%20fix%20the%20ones%20that%20are%20related%20to%20the%20packages%20used%20by%20default%20by%20SPFx%20as%20that%20may%20break%20your%20project.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20helps%20and%20let%20me%20know%20if%20you%20have%20any%20other%20questions%3CBR%20%2F%3E%3CBR%20%2F%3EJoel%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-714142%22%20slang%3D%22en-US%22%3ERe%3A%20SPFx%20Dev%20Environment%20Setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-714142%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9907%22%20target%3D%22_blank%22%3E%40Joel%20Rodrigues%3C%2FA%3E%26nbsp%3BYou%20are%20awesome!%20Thank%20you%20for%20explaining%20this!!%20%3AD%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-714352%22%20slang%3D%22en-US%22%3ERe%3A%20SPFx%20Dev%20Environment%20Setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-714352%22%20slang%3D%22en-US%22%3EEvery%20SharePoint%20developer%20is%20awesome%20%E2%98%BA%EF%B8%8F%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20are%20very%20welcome%2C%20glad%20it%20was%20useful%3C%2FLINGO-BODY%3E
Highlighted
Charisma Riley
Occasional Contributor

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

7 Replies
Hi Charisma,

If you are talking about setting up your dev environment machine, then this link may be more suitable
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment

Apologies if I got it wrong
Joel

@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.

Hi,

You shouldn't need to install those. What are you trying to achieve?

@Joel Rodrigues I don't have a goal other than installing what is needed to build web parts. These are described on the page as, "the set of build tools, framework packages, and other items that manage building and deploying your client-side projects." They are in groups: SharePoint Framework packages (I figured these were pretty essential or they wouldn't be listed here, and they involve some components I already believe to be pretty essential, such as the SharePoint generator and the workbench) and Common build tool packages, which I also see as things people probably use when they build this stuff. So, I am just asking, where can I find an updated version of this since the tools that they list here are all coming back with tons of warnings and deprecation notices when they are installed. But maybe the real question is: are people not using these anymore? And if not, what is a better resource for me to find the additional packages that may be needed when building out today's web parts and hosted solutions for SharePoint Online?

Solution
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

@Joel Rodrigues You are awesome! Thank you for explaining this!! :D

Every SharePoint developer is awesome ☺️

You are very welcome, glad it was useful
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies