You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. In your project, make sure you're not fighting with old build configurations. Delete **both**
21
-
* your `%USERPROFILE%/.node-gyp` and
22
-
* your project's `node_modules` directories.
23
-
5. Set up `%USERPROFILE%/.npmrc` correctly:
24
-
```sh
25
-
msvs_version=2015
26
-
python=python2.7
27
-
```
28
-
(where `%USERPROFILE%` is your home directory).
29
-
6. Run `npm install`
14
+
2. Install **latest** Visual Studio Community and Desktop Development with C++ extension.
15
+
3. Install **latest** Python.
16
+
4. Run following commands:
17
+
```
18
+
npm config set msvs_version 2019
19
+
npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe"
20
+
```
21
+
5. Run `npm install`
30
22
31
23
If none of these solved your problem, try browsing [previous issues](https://github.com/JoshuaWise/better-sqlite3/issues?q=is%3Aissue) or open a [new issue](https://github.com/JoshuaWise/better-sqlite3/issues/new).
0 commit comments