Skip to content

[BUG]: Bun JS v1.3.14 installation failed: moving "@electric-sql/pglite" to cache dir failed #1034

Description

@nishiikata

Describe the bug
Unable to install pglite versions after v0.4.0 with bun package manager

To Reproduce - include code sample(s)

$ bun add @electric-sql/pglite

Logs

$ bun add @electric-sql/pglite
[0.43ms] ".env"
bun add v1.3.14 (0d9b296a)
  🔍 Resolving [1/1] error: moving "@electric-sql/pglite" to cache dir failed
EPERM: Operation not permitted (NtSetInformationFile())
  From: .18bfcfdf1eeefd65-00000001.pglite
    To: @electric-sql/pglite@0.5.3@@@1
error: InstallFailed extracting tarball from @electric-sql/pglite
  📦 Installing [32/153] error: moving "@electric-sql/pglite" to cache dir failed
EPERM: Operation not permitted (NtSetInformationFile())
  From: .5bbffff757ef32fb-00000002.pglite
    To: @electric-sql/pglite@0.5.3@@@1
error: InstallFailed extracting tarball from @electric-sql/pglite

Details

  • PGlite - version v0.5.3
  • using any extensions? which ones? - None
  • OS version - Windows 11
  • node, bun, deno or browser version - Bun v1.3.14

Additional context
Add any other context about the problem here.

Other
If you want to help fix this, you might want to try debugging the issue yourself! Follow the instructions here to build a debug version of PGlite which you can then use in an interactive debugging session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions