Skip to content

ERR! OMG There is no Visual C++ compiler installed. Install Visual C++ Build Toolset or Visual Studio. #352

@grngxd

Description

@grngxd

trying to install the npm package llvm-bindings throws this error, while i have VS Build Tools installed (2022)

bun install v1.2.19 (aad3abea)

+ @types/bun@1.2.19
+ llvm-bindings@0.4.2

99 packages installed [10.25s]

Blocked 1 postinstall. Run `bun pm untrusted` for details.
PS E:\Apps\yttria> bun pm trust --all
bun pm trust v1.2.19 (aad3abea)
  ⚙️  llvm-bindings [1/1] [
  'C:\\Users\\grng\\scoop\\apps\\nodejs-lts\\current\\node.exe',
  'E:\\Apps\\yttria\\node_modules\\cmake-js\\bin\\cmake-js',
  'compile'
]

ERR! OMG There is no Visual C++ compiler installed. Install Visual C++ Build Toolset or Visual Studio.
ERR! OMG There is no Visual C++ compiler installed. Install Visual C++ Build Toolset or Visual Studio.

error: postinstall script from "llvm-bindings" exited with 1
PS E:\Apps\yttria>
Image

looked through other issues to no avail

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