WiseLibs / better-sqlite3

The fastest and simplest library for SQLite3 in Node.js.
MIT License
5.23k stars 390 forks source link

MSBuild.exe` failed with exit code: 1 #1145

Closed Bluscream closed 4 months ago

Bluscream commented 4 months ago

Log: 2024-02-15T22_34_00_454Z-debug-0.log (Too big for github)

Prinzhorn commented 4 months ago

Before opening issues make sure to work with the latest versions. You're on an ancient version 7.6.2 of better-sqlite3.

Bluscream commented 4 months ago

Before opening issues make sure to work with the latest versions. You're on an ancient version 7.6.2 of better-sqlite3.

Thats the latest version npm installed. How do i tell npm to install the latest version

neoxpert commented 4 months ago

If you have control over the project by changing / adding the wanted version in the package.json of your project.

Otherise tell the authors of that discord bot, that they should keep their dependencies up to date.

Bluscream commented 4 months ago
21 verbose title npm install discord.js
22 verbose argv "install" "discord.js" "--loglevel" "verbose"

Doesn't that mean i did npm install discord.js so discord.js has a wrong version of better-sqlite3?

neoxpert commented 4 months ago

Well discord.js itself does not declare a dependency to better-sqlite3. Which other dependencies do you use in your project?

Running npm list better-sqlite3 in your project's root folder should list modules that do have a dependency declared to it.

When you found out, which module is declaring the dependency, you could try to use npms override options in order to make npm resolve the latest better-sqlite3 version for that module. This shoul work fine as there haven't been changes within the JavaScript API.