spfx project upgrade to 1.11: What is going on with @types packages? #1760
-
|
In the output of
They are also included in the third command, which is uninstall.
While not necessarily a bug, should this be streamlined? Happy to open an issue if appropriate. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Based on the commands you have highlighted, my hypothesis is that in v1.10 the
So after following the upgrade steps you should only have |
Beta Was this translation helpful? Give feedback.
Based on the commands you have highlighted, my hypothesis is that in v1.10 the
@typeswere incorrectly installed asdependenciesinstead ofdevDependencies.npm i -DEinstalls the specified packages as exact versions (E) adding them to thedevDependenciessection (D) inpackage.jsonnpm un -Suninstalls the packages specified and removing the packages from thedependenciessection (S) inpackage.jsonSo after following the upgrade steps you should only have
@typesdisplaying in thedevDependenciessection.