windows-build-tools | :package: Install C++ Build Tools for Windows using npm | Runtime Evironment library
kandi X-RAY | windows-build-tools Summary
kandi X-RAY | windows-build-tools Summary
:package: Install C++ Build Tools for Windows using npm
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of windows-build-tools
windows-build-tools Key Features
windows-build-tools Examples and Code Snippets
npm install --global windows-build-tools --vs2015
npm install -g gatsby-cli
gatsby new gatsby-site
cd gatsby-site
gatsby develop
npm install imagemin-pngquant@5.0.1 --save
npm install p
let VoiceChannel = await message.member.voice.channel;
//get the voice channel first. I guess you're doing it onMessage
let connection = VoiceChannel.join();
connection.play('audio.mp3', { volume: 0.5 });
npm insta
npm install --global --production windows-build-tools
npm install --global --production windows-build-tools
node-gyp configure --msvs_version=2015
npm config set python /path/to/executable/python2.7
npm install web3 --save
npm install --global windows-build-tools
yarn global add windows-build-tools
npm install --global windows-build-tools
npm install --global --production windows-build-tools
npm install --global node-gyp
Community Discussions
Trending Discussions on windows-build-tools
QUESTION
For the last few days I've been trying to get node/npm installed on my Windows 10 VM and I've tried everything I found with no success.
I followed the node-gyp setup instructions for Windows which say to install Python3.7. The npm microsoft-build-tools are now deprecated and installed with the microsoft installer (which I used). i also installed the tool through visual studio, and tried npm config set msvs_version 2015 -g
to try both 2015/2017. I have node -v v16.13.1
, node-gyp -v v8.4.1
, npm 8.2
. Everytime I try npm install
I just keep getting the same stacktrace
ANSWER
Answered 2021-Dec-16 at 20:44Problem is python and your VS tools. On windows worked for me:
Uninstall node.js
Uninstall python
Uninstall VS build tools
Clear registry Then reboot your machine and try install with following ordering:
-
- Install python set executable path
-
- Install VS build tools (latest)
-
- Install node.js (Latest LTS version) Be carefully angular CLI and some other stuff does not work with latest non LTS node.js
Then reboot your machine.
Try to run npm install
Also try to not use npm install from desktop.
It's preferable to post your package json.
QUESTION
I clone a project from github, and was trying to install npm in the porject's directory, but a error occur. I had nodejs, npm and visual studio code installed and then i uninstalled, and reinstalled to upgrade. The versions that i am using now are: nodejs v16.13.2 npm v8.3.2 VScode 2017
Then i clone the project, when i try to do "npm install":
...ANSWER
Answered 2022-Jan-24 at 00:07You need to check if the node version installed in your machine is compatible with the node-sass version installed in the project.
In your terminal do node -v
to check your node version and look at the node-sass version of the cloned project in the package.json
file. Look at the following answer for more information on what version of node-sass is compatible with what version of node.
Check this answer https://stackoverflow.com/a/67778126/9241178
QUESTION
I encounter this problem when I execute npm install
command
I tried to add the MSBuild.exe to PATH but can't success
How can I process this problem?
Before I have added to the python2 PATH,and tried npm install --global --production windows-build-tools
ANSWER
Answered 2022-Jan-05 at 14:29For me, running npm i -g windows-build-tools
from a command line with administrator privileges would hang during installation, but I was able to navigate to C:\Users\[username]\.windows-build-tools
and run the .exe file from there. This worked its magic, and I was able to run npm install
as normal.
QUESTION
I have a Phoenix app, in a fresh Windows 10 VM. In this project I cannot run npm install
without errors.
After running npm install
inside the assets
directory I get the following output:
ANSWER
Answered 2021-Dec-20 at 20:36After trying for several weeks I eventually gave up. The best way to avoid this error is simply to install Phoenix's newest version: https://hexdocs.pm/phoenix/installation.html
Which does not use SASS and therefore wont need NodeJS to compile.
I ended up creating a fresh project and porting my old code there. Not the best experience.
QUESTION
The app has been running successfully in production for a year, and works perfectly on MacOS localhost. Recently needed to set up the app to run on Windows 10 localhost, and after resolving all the errors, now the app boots up, requests seem to get through, however, only the '/' page actually renders, all the other routes don't render and stay at a blank page.
What could be a reason?
During initial setup, I ran into an issue with windows-build-tools and a missing Python, which I ended up eventually resolving by installing everything through Chocolatey. Could this be related?
Node version on Windows is newer than one specified in project, could this cause this?
I'm happy to provide more details and perform any experiments any of you recommend or suggest. My own guess is that it is either something related to setup on Windows or some issue with the packages on Windows.
The app is booted up through a package.json
start script:
ANSWER
Answered 2021-Dec-14 at 19:01Node version could be a problem. That windows-build-tools is required for the installation indicates there's binary dependency that is potentially incompatible with current Node version. Binary NPM dependencies usually provide a subset of precompiled binaries for a specific package version, where a combination of platform and Node.js version that can be considered safe or supported. For any other combination, binary package needs to be compiled for current platform with build tools. This doesn't always mean that the package is incompatible but this is common.
For example, node-sass
(doesn't seem to be used here) has different versions that correspond to specific Node.js versions and provides precompiled binaries for a supported subset; for unsupported Node.js version it falls back to compilation during installation process and most likely fails.
It's unknown which dependency causes this problem in this case, this needs to be reviewed in npm/yarn logs.
In order to avoid this situation, Node version could be matched with old one. Project dependencies need to be freshly installed because node_modules in use has been already tied to currently used Node version.
QUESTION
The problem that I am having is that I cant install the packages for a project, it keeps erroring with:
...ANSWER
Answered 2021-Dec-12 at 20:47I found the problem after hours of searching, it was my node version, i was at 16.x.x, I installed node version manager and moved to version 14 and it worked.
QUESTION
I have installed windows 11 in my newly bought laptop, and installed Nodejs, Angular Cli, but when I run npm install in my project everything is giving error, I tried a lot , but could not solve it.
upgrade downgrade node. update all node packages. clear cache etc.
Note:
...ANSWER
Answered 2021-Nov-29 at 05:59How much more clear can npm
be?!
Error: not found: c:\python27\python.exe
some packages require python2.7; others look for python and will accept Python 3. It's a pain; especially for those of us that don't use Python otherwise. But your problem is basic - install Python and try again
QUESTION
ANSWER
Answered 2021-Nov-28 at 21:06My Problem is msvs version not set as it says in the error msvs_version does not match this version I run
QUESTION
I'm trying to npm install on an existing project with a new computer but I got an error "gyp ERR!".
I tried to reinstall NPM, reinstall python with an older version, install NPM with different version but it doesn't work and the error is the same. I have never got this error before.
I tried to remove node-modules and download Visual Build Tools with the same result.
Here is the error log :
...ANSWER
Answered 2021-Oct-27 at 18:19Step 1 - Check if you have a virtual environment, if not (python -m venv “location of project”) Step 2 - Select interpreter since virtual environment is created(in Visual Studio code its ctrl+shift+p ) then click "select interpreter", then select "enter interpreter path", then select "browse your file system to find a python interpreter", then goto the installed virtual environment the select the python.exe file Step 3 - open terminal in VS code, then in file path goto script folder(cd Scripts) then enter ".\activate" Step 4 - pip install npm
Hopefully this works for you
QUESTION
I'm trying to install build tools on my OS (Windows 10) but it always stay in the same state. Like picture Build tools error image
...ANSWER
Answered 2021-Oct-29 at 07:54From the NPM page at https://www.npmjs.com/package/windows-build-tools
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install windows-build-tools
Visual Studio Build Tools: vs_BuildTools.exe or BuildTools_Full.exe
Python: python-3.8.1.amd64.msi or python-3.8.1.msi
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page