10/31/2023 0 Comments Npm config set python windows![]() ![]() ![]() ![]() We’ll cover the basics of choosing the package that best suits your needs, access configuration, tips for which method to use for adding icons, and more! More information about possible windows build tools issues can be found in the following links:Īdditional Note: Some people tend to have spaces in their project path names whereas, some tools don't handle spaces in path names well.For those using npm or yarn package managers, you can use the Font Awesome packages to easily keep your project up-to-date with the latest icons and improvements. More information or description about node-gyp can be found here: node-gyp after running the command in the previous step): C:\Users\\.windows-build-tools\python27 In order to use this command, you can find the python path here (i.e. You can run the following command: npm config set python, in order to be sure that npm is pointing to the correct path of python executable file.Install windows-build-tools with the python-path directly using the following command: npm -add-python-to-path='true' install -global -production windows-build-tools.Register the path of python executable file to npm using the following command: npm config set python.Register Microsoft Visual Studio version to npm using the following command: npm config set msvs_version.Download and install windows build tools manually from this link: Windows_Build_tools.Install node-gyp using the following command: npm install -g node-gyp. ![]() C:\Users\'yourUser'\AppData\Roaming\npm\node_modules\windows-build-toolsĪfter ensuring that the folders specified above are deleted, then you can try applying any of the following tips.C:\Users\'yourUser'\.windows-build-tools\.You can find the build tools here and just delete the folders (but I don't know if they are installed somewhere else): NOTE: If you already tried installing the build tools via npm command with no success, it is probably a good idea to delete everything before applying any of the tips below. In case the answer(s) provided doesn't work for you, here are some tips you can follow in order to mitigate related problems for windows OS. Try this in cmd administrator (or Windows Powershell Administrator if cmd freezes) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |