when I run gulp serve I get the following error.
Your dev environment is running NodeJS version v10.15.0 which does not meet the requirements for running this tool. This tool requires a version of NodeJS that matches >=8.9.4 <9.0.0
My current version of
- Node is 10.15
- Gulp is 3.9
- @Microsoft/sp-core-library -1.7.1
I followed this article but it works only for Microsoft framework 1.2.0 but it does not work for Microsoft framework 1.6.0 or Microsoft 1.7.1
When I follow the above article I can run gulp serve
but I cannot include the
import { AadHttpClient, HttpClientResponse } from '@microsoft/sp-http';
as it is only supported in spfx framework 1.6 and above.
Is there a way to get the workbench working.
npx -p node@8 gulp serve
? (notice the number 8)