mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Added compatibility issues section
Sections includes warnings for cretain nonstandard path settings and environment variables that conflict with nvm.
This commit is contained in:
		| @@ -187,6 +187,20 @@ nvm uninstall | ||||
| 	$ nvm uninstall [tab][tab] | ||||
| 	my_alias        default        v0.6.21        v0.8.26       v0.10.28 | ||||
| 	 | ||||
| ## Compatibility Issues | ||||
| `nvm` will encounter some issues if you have some non-default settings set. (see [#606](/../../issues/606)) | ||||
| The following are known to cause issues: | ||||
|  | ||||
| Inside `~/.npmrc` | ||||
| ``` | ||||
| prefix='some/path' | ||||
| ``` | ||||
| Environment Variables: | ||||
| ``` | ||||
| $NPM_CONFIG_PREFIX | ||||
| $PREFIX | ||||
| ``` | ||||
|  | ||||
| ## Problems | ||||
|  | ||||
| If you try to install a node version and the installation fails, be sure to delete the node downloads from src (~/.nvm/src/) or you might get an error when trying to reinstall them again or you might get an error like the following: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user