Thanks to visit codestin.com
Credit goes to github.com

Skip to content

better-sqlite3 v12.3.0 fails to build from source #1404

@MaartenBent

Description

@MaartenBent

Hi, I just updated to the latest version of better-sqlite3 on npm (v12.3.0, I see v12.4.0 just released but it doesn't seem to have changes related to this problem).

I use better-sqlite3 together with Electron and electron-builder, and for reasons, I build dependencies from source.

With better-sqlite3 v12.3.0 this fails with the following error:

node_modules\better-sqlite3\src\better_sqlite3.cpp(21,10): error C1083: Cannot open include file: 'util/macros.cpp': No such file or directory

This file, and the entire objects and util folders, are indeed missing in the package. Also when browsing the package source on npm.

I suppose previously the lzz thing put everything in the same source file, but after removing lzz it needs these files.
Can you add them to the package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions