Let us know the questions and answer you want to cover in this blog. ![]() If you liked the above tutorial then please follow us on Facebook and Twitter. I will make every effort to assist you, or you can let me know if you were able to resolve your issue in a manner other than that described above. get npm config get key Echo the config value to stdout. If value is omitted, then it sets it to 'true'. Sub-commands Config supports the following sub-commands: set npm config set key value Sets the config key to the value. Please let me know if you are still experiencing difficulties in the comment section. The npm config command can be used to update and edit the contents of the user and global npmrc files. If you dont specify this flag, the default location is the current. npmrc file with your repository settings. Install Python version 2.x if your environment requires it otherwise, install the most recent version of Python, which is version 3.x. Obtaining an access token -repo-config is the. Additionally, you must ensure that you are installing the most recent and supported version of the Python programming language. So, unless you run these commands, the possibility of a Python-related error still exists. npm install -global -production windows-build-toolsĪnd then you will need to install the packages required for your Environment to run properly. To run the command if you don’t have python installed, as well as all of the node-gyp dependencies, open Powershell or Git Bash with administrator privileges and run the command. 1 npm config set python D:\Library\Python\Python27\python.exe 2 Just run below command with admin access npm install -global -production windows-build-tools I installed python2.7 to solve this issue. And once you restarted the computer this issue should be fixed. npm -add-python-to-path'true' -debug install -global windows-build-tools. One of the following solutions will work for you: npm config set python c:\Python\27\python.exe or set PYTHOND:\Python\bin\Python.exe npm config set python D:\Library\Python\Python27\python.exe Let npm configure everything for you (takes forever to complete) npm -add-python-to-path'true' -debug. ![]() python by Dayanaohhnana on Donate Comment. They need to have their original names: Visual Studio Build Tools: vsBuildTools.exe or BuildToolsFull.exe Python: python-2.7.15.amd64.msi or python-2.7.15.msi Then, run. ![]() Alternatively, you can prepare a folder that contains installers. Once you have installed Python properly then you will need to restart your computer. python is not set from command line or npm configuration node-gyp. By default, windows-build-tools will download the latest installers from Microsoft each time it's installed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |