Skip to main content

Update SPFx projects to 1.9.1


The SharePoint team has released a new version of SPFx (SharePoint Framework Released 1.9.1)
The changes alredy mentioned here:
  • General Availability of Library components
  • Tooling move from WebPack 3 to WebPack 4
  • Graph API and 3rd party API polishing for Microsoft Teams, mobile and desktop clients
  • Isolated web part model supported in Teams
  • Teams Integration Improvements
The process of upgraded is mentioned here.
Is important to get the last version of Office 365 CLI, execute the next command:
npm install -g @pnp/office365-cli@latest
Then, go to your project directory.
o365 spfx project upgrade --output md > report.md


Navigate to the report, and copy the commands are mentioned.


Execute the commands are previously copied.


Keep calm please!! your project is updating.


Look at the file package.json on your project to saw what dependencies are updated.


Now, the final test…. please let it work!!


Come on….. really? so, what happend with our webpart? an specific dependencies is not updated, so, just let me repair this error…. Execute the next command.
npm install @microsoft/rush-stack-compiler-3.2
npm install -g typescript@3.2.4
npm uninstall @microsoft/rush-stack-compiler-2.9
Yeahhhhh!! our project is already run….
gulp serve


Reference:

Comments