cross-spawn-promise | Promisified cross-spawn | Socket library
kandi X-RAY | cross-spawn-promise Summary
kandi X-RAY | cross-spawn-promise Summary
Promisified cross-spawn.
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 cross-spawn-promise
cross-spawn-promise Key Features
cross-spawn-promise Examples and Code Snippets
Community Discussions
Trending Discussions on cross-spawn-promise
QUESTION
After consulting millions of tips online including
- How can I solve error gypgyp ERR!ERR! find VSfind VS msvs_version not set from command line or npm config?
- https://github.com/nodejs/node-gyp/issues/1663
- Not looking for VS2013 npm install node modules
- Unable to install npm package (kafka-streams)
and this "comprehensive guide" that introduces ideas that go against the official doc
I still couldn't install certain third-party packages that require local build over npm or yarn. I've also not received any reply from nodejs
or node-gyp
github issue forums.
I'm about to ship an app that already builds well using electron-forge
on macOS, but can't get it working on Windows.
The main problem is that one of the npm
dependencies for building third-party packages,node-gyp
, couldn't find Visual Studio on my machine. I use VS2017 Community and have installed all required components for node-gyp
.
- Node Version:
node -v
=v12.18.3 andnpm -v
=6.14.8 - Platform:
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"
(Windows)
ANSWER
Answered 2020-Aug-28 at 10:10Try using the windows-build-tools
npm package: https://www.npmjs.com/package/windows-build-tools. It's a package specifically designed to set up an environment for native builds like this on Windows.
You just need to install it globally:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cross-spawn-promise
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