From 7108921691e8d225bfcb6b355040c2ac924d12b2 Mon Sep 17 00:00:00 2001 From: Keith Ballinger Date: Tue, 3 Jun 2025 19:52:53 -0700 Subject: [PATCH] fix Cannot find module @rollup/rollup-linux-x64-gnu error (#736) --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff7019d0..6bcf8909 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,6 +84,13 @@ jobs: # upload paths were relative to the workspace root. # Example: if uploaded `packages/cli/dist`, it will be at `./packages/cli/dist`. + - name: Clean node_modules and lockfile + run: | + rm -rf node_modules package-lock.json + + - name: Reinstall dependencies + run: npm install + - name: Install dependencies for testing run: npm ci # Install fresh dependencies using the downloaded package-lock.json