|
1 | 1 | ---
|
2 | 2 | title: Set up your SharePoint Framework development environment
|
3 | 3 | description: Use any text editor to build SharePoint Framework solutions. You can use macOS, Windows, or Linux.
|
4 |
| -ms.date: 03/24/2022 |
| 4 | +ms.date: 04/25/2022 |
5 | 5 | ms.prod: sharepoint
|
6 | 6 | ms.localizationpriority: high
|
7 | 7 | ms.custom: scenarios:getting-started
|
@@ -172,13 +172,13 @@ npm list --global --depth=0️
|
172 | 172 |
|
173 | 173 | If you're having trouble trusting your self-signed certificate when you run **gulp trust-dev-cert** & you've verified that the correct versions of all dependencies are installed, one solution we usually see resolve the issue is to uninstall all globally installed packages, uninstall Node.js, reboot & start again.
|
174 | 174 |
|
175 |
| -In some cases, executing the command **gulp trust-dev-cert**, doesn't have the wanted effect of trusting the self-signed development certificate on your machine. In rare cases such as these, you may need to delete a hidden folder that's generated in your profile folder. |
176 |
| -Locate & delete the folder **{{homedir}}/.gcb-serve-data** for SPFx version earlier than v1.12.1. For later versions delete folder **{{homedir}}/.rushstack** then try to trust the self-signed development certificate again. Otherwise running **gulp untrust-dev-cert** will have same effect to remove the certificate files from the profile folder. |
| 175 | +In some cases, executing the command **gulp trust-dev-cert**, doesn't have the wanted effect of trusting the self-signed development certificate on your machine. In rare cases such as these, you may need to delete a hidden folder that's generated in your profile folder. |
| 176 | +Locate & delete the folder **{{homedir}}/.gcb-serve-data** for SPFx version earlier than v1.12.1. For later versions delete folder **{{homedir}}/.rushstack** then try to trust the self-signed development certificate again. Otherwise running **gulp untrust-dev-cert** will have same effect to remove the certificate files from the profile folder. |
177 | 177 | In case the certificate is not added to the Trusted Root Certification Authority despite running **gulp trust-dev-cert** because of some policies blocking the action, the **rushstack-serve.pem** file from **{{homedir}}/.rushstack** folder can be imported manually into the Certificate Manager under Trusted Root Certification Authority with a local admin account.
|
178 | 178 |
|
179 | 179 | ### Unable to Install Packages with NPM - Corporate Proxies
|
180 | 180 |
|
181 |
| -If your development environment is behind a corporate proxy, you need to configure NPM to use that proxy. Refer to the [npm-config](https://docs.npmjs.com/misc/config) documents on how to configure your development environment behind a corporate proxy... specifically the **proxy** & **http-proxy** settings. More information: [How to setup Node.js and Npm behind a corporate web proxy](https://jjasonclark.com/how-to-setup-node-behind-web-proxy/) |
| 181 | +If your development environment is behind a corporate proxy, you need to configure NPM to use that proxy. Refer to the [npm-config](https://docs.npmjs.com/misc/config) documents on how to configure your development environment behind a corporate proxy... specifically the **proxy** & **http-proxy** settings. More information: [Configure NPM for a coporate web proxy](https://www.voitanos.io/blog/node-npm-fix-proxy-config/) |
182 | 182 |
|
183 | 183 | ## See also
|
184 | 184 |
|
|
0 commit comments