From c78a9618f8ce2827cce53ebf9d235dc1446348b5 Mon Sep 17 00:00:00 2001 From: MythEclipse Date: Mon, 1 Jun 2026 12:42:33 +0700 Subject: [PATCH] fix: add .npmrc shamefully-hoist for native module compilation pnpm's isolated store prevents native post-install scripts from finding their dependency binaries (node-pre-gyp, prebuild-install). This causes @discordjs/opus and @lng2004/node-datachannel to fail during pnpm install. Enabling shamefully-hoist flattens node_modules so native scripts can resolve their dependencies correctly. Co-Authored-By: Claude Opus 4.6 --- .npmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..bf2e764 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +shamefully-hoist=true