Answers for "sharepoint TypeError: lookups.flatMap is not a function"

0

sharepoint TypeError: lookups.flatMap is not a function

13

I resolved this by downgrading my gulp and yeoman versions.

First checked to see what I had installed:

npm list -g --depth=0
Output:

+-- @microsoft/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
-- [email protected]
So I uninstalled both gulp and yeoman:

npm uninstall -g gulp
npm uninstall -g yo
Then installed older versions:

npm install -g [email protected]
npm install -g [email protected]
Then was able to generate the SharePoint framework project successfully after running:

yo @microsoft/sharepoint
Once it completed, I was able to run the following from inside the SharePoint framework project directory to launch the local workbench:

gulp serve
Note: If if not already done so once, you need to generate a development certificate inside the SharePoint framework project directory:

gulp trust-dev-cert
Posted by: Guest on July-28-2021
0

TypeError: lookups.flatMap is not a function

gulp serve
Posted by: Guest on June-01-2021
0

TypeError: lookups.flatMap is not a function

npm uninstall -g gulp
npm uninstall -g yo
Posted by: Guest on June-01-2021

Code answers related to "sharepoint TypeError: lookups.flatMap is not a function"

Browse Popular Code Answers by Language