-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)status:answeredAnswer to a question.Answer to a question.type:questionQuestion... if answered, will be tagged as such.Question... if answered, will be tagged as such.
Description
Category
- Bug
I have created the Sharepoint webpart by running yo @microsoft/sharepoint and I got all the old versions of react and related packages in package.json.
To resolve this issue,
I have removed existing node package and installed the latest version 12.16.1
- when I run npm -v, I get v.12.16.1
ran npm i npm@latest -g
- now npm version 6.15.2
ran npm install @microsoft/generator-sharepoint@latest -g
- now i have @microsoft/generator-sharepoint@1.10.0
but after I upgraded the node/npm and created the new webpart, I still get the old react versions in package.json.
I would need at least react 16.8 or higher version in order to use some of the react libraries.
Any ideas?
Metadata
Metadata
Assignees
Labels
area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)status:answeredAnswer to a question.Answer to a question.type:questionQuestion... if answered, will be tagged as such.Question... if answered, will be tagged as such.