You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/spfx/sharepoint-2019-and-subscription-edition-support.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.localizationpriority: high
10
10
SharePoint Server 2019 and Subscription Edition support SharePoint Framework client-side web parts in classic and modern pages, and extensions in modern pages.
11
11
12
12
> [!IMPORTANT]
13
-
> SharePoint Server Subscription Edition (SE) has all the same dependencies and requirements for the SharePoint Framework as SharePoint Server 2019.
13
+
> SharePoint Server Subscription Edition (SE) has all the same dependencies and requirements for the SharePoint Framework (SPFx) as SharePoint Server 2019.
14
14
15
15
## Which version of the SharePoint Framework to use
16
16
@@ -49,7 +49,7 @@ Microsoft recommends using the most recent version of the Yeoman generator for t
SPFx v1.4.1 is also supported on Node.js v12, v14 and v16 (v12.18.1, v14.17.1 and v16.15.0 to be specific), though there're incompatible issues ([gulp v3 is incompatible with Node v12+](https://github.com/gulpjs/gulp/issues/2324), and node-sass v4 requires Node.js v14 or below). The workaround to resolve them is to specify the version of graceful-fs component as 4+, and to replace node-sass with sass. You can manually modify `package-lock.json` or `npm-shrinkwrap.json` and then re-run `npm install`. Or you can create a new `.js` file located in the root folder of your npm project, copy the following code into that file, run `node your_new_js_file` and re-run `npm install`.
52
+
SPFx v1.4.1 is also supported on Node.js v12, v14 and v16 (v12.18.1, v14.17.1 and v16.15.0 to be specific), though there are incompatible issues ([gulp v3 is incompatible with Node v12+](https://github.com/gulpjs/gulp/issues/2324), and **node-sass** v4 requires Node.js v14 or below). The workaround to resolve them is to specify the version of the **graceful-fs** component as v4+, and to replace **node-sass** with **sass**. You can manually modify **package-lock.json** or **npm-shrinkwrap.json** and then re-run `npm install`. Or you can create a new **\*.js** file located in the root folder of your project, copy the following code into that file, run `node your_new_js_file` and re-run `npm install`.
53
53
54
54
```JavaScript
55
55
constfs=require('fs');
@@ -85,7 +85,7 @@ For more information, see [SharePoint Framework development tools and librari
85
85
86
86
To create a newweb part with SharePoint Framework, see [Build your first SharePoint client-side web part](web-parts/get-started/build-a-hello-world-web-part.md).
87
87
88
-
To deploy your web part to SharePoint on-premises, unlike deploying to SharePoint Online, some dependent service applications and specific configurations on the SharePoint Server are required. You can contact SharePoint Server administrator if you don't have appropriate permission to check or configure.
88
+
To deploy your web part to SharePoint on-premises, unlike deploying to SharePoint Online, some dependent service applications and specific configurations on the SharePoint Server are required. You can contact the SharePoint Server administrator if you don't have appropriate permission to check or configure.
89
89
90
90
1. Ensure App Management Service and other dependent service applications are configured, see [Configure an environment for apps for SharePoint Server](/sharepoint/administration/configure-an-environment-for-apps-for-sharepoint).
91
91
1. Create and configure App Catalog site, see [Manage the App Catalog in SharePoint Server](/sharepoint/administration/manage-the-app-catalog).
@@ -104,7 +104,7 @@ If you have existing SharePoint Framework solutions and you'd like to confirm wh
Around thisthe time of the v1.1 release, Node.js was transitioning from Node.jsv6.x to v8.x. Inthis update, Node.js introduced a change where the default HTTP protocol switched from HTTP1 to HTTP2. SPFx v1.1 was written forHTTP1, not HTTP2, so this change affected the local web server for SPFx v1.1 projects.
107
+
Around the time of the v1.1 release, Node.js was transitioning from Node.jsv6.x to v8.x. Inthis update, Node.js introduced a change where the default HTTP protocol switched from HTTP1 to HTTP2. SPFx v1.1 was written forHTTP1, not HTTP2, so this change affected the local web server for SPFx v1.1 projects.
108
108
109
109
In Node.jsv8.x, you can force HTTP1 by setting the following environment variable to instruct Node.js to use HTTP1 instead of the default HTTP2:`NODE_NO_HTTP2=1`. This environment variable only exists inNode.jsv8.x. That's why if you're building SPFx solutions for SharePoint Server 2016, you should use Node.jsv8.x.
0 commit comments