Comments (1)
Hi !
The installation of Discord.js requires node-gyp, which itself requires :
Install the current version of Python from the Microsoft Store package.
Install tools and configuration manually:
- Install Visual C++ Build Environment: Visual Studio Build Tools
(using "Visual C++ build tools" workload) or Visual Studio Community
(using the "Desktop development with C++" workload) - Launch cmd,
npm config set msvs_version 2017
If the above steps didn't work for you, please visit Microsoft's Node.js Guidelines for Windows for additional tips.
To target native ARM64 Node.js on Windows 10 on ARM, add the components "Visual C++ compilers and libraries for ARM64" and "Visual C++ ATL for ARM64".
Configuring Python Dependency
node-gyp
requires that you have installed a compatible version of Python, one of: v3.6, v3.7,
v3.8, or v3.9. If you have multiple Python versions installed, you can identify which Python
version node-gyp
should use in one of the following ways:
- by setting the
--python
command-line option, e.g.:
node-gyp <command> --python /path/to/executable/python
- If
node-gyp
is called by way ofnpm
, and you have multiple versions of
Python installed, then you can setnpm
's 'python' config key to the appropriate
value:
npm config set python /path/to/executable/python
-
If the
PYTHON
environment variable is set to the path of a Python executable,
then that version will be used, if it is a compatible version. -
If the
NODE_GYP_FORCE_PYTHON
environment variable is set to the path of a
Python executable, it will be used instead of any of the other configured or
builtin Python search paths. If it's not a compatible version, no further
searching will be done.
from luna.
Related Issues (20)
- TypeError: collected.first is not a function HOT 1
- TypeError: Cannot read property 'id' of undefined, TypeError: Cannot read property 'end' of null HOT 7
- Contribution HOT 5
- Prune issue : Cannot read property 'id' of undefined HOT 2
- Issue HOT 1
- Bot Usage
- Documentation HOT 3
- SetLog Command HOT 1
- Bot "impossessing" himself of the profile picture HOT 2
- Fixing the counter in the music selector HOT 1
- eror
- npm ERROR HOT 5
- Fix? HOT 14
- Problems installing yarn with npm HOT 4
- issue HOT 1
- Could load system's font host HOT 1
- URI does not have hostname, domain name and tld HOT 1
- Canvas modules?
- Button and Music Bug HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luna.