12/4/2023 0 Comments Como usar nw.jsWhen building modules for third party Node.js runtimes like Electron, which haveĭifferent build configurations from the official Node.js distribution, you If it's not a compatible version, no further Python executable, it will be used instead of any of the other configured orīuiltin Python search paths. If the NODE_GYP_FORCE_PYTHON environment variable is set to the path of a Then that version will be used, if it is a compatible version. If the PYTHON environment variable is set to the path of a Python executable, Npm config set python /path/to/executable/python by setting the -python command-line option, e.g.:.Version node-gyp should use in one of the following ways: If you have multiple Python versions installed, you can identify which Python Node-gyp requires that you have installed a compatible version of Python, one of: v3.7, v3.8, To use the native ARM64 C++ compiler on Windows on ARM, ensure that you have Visual Studio 2022 17.4 or later installed. To target native ARM64 Node.js on Windows on ARM, add the components "Visual C++ compilers and libraries for ARM64" and "Visual C++ ATL for ARM64". If the above steps didn't work for you, please visit Microsoft's Node.js Guidelines for Windows for additional tips. (using the "Desktop development with C++" workload) (using "Visual C++ build tools" if using a version older than VS2019, otherwise use "Desktop development with C++" workload) or Visual Studio Community
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |