pnpm i Lockfile is up to date, resolution step is skipped Packages: +500 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 500, reused 484, downloaded 16, added 500, done node_modules/.pnpm/weapp-tailwindcss@4.0.8_tailwindcss@4.0.9/node_modules/weapp-tailwindcss: Running postinstall script, failed in 1.2s .../node_modules/weapp-tailwindcss postinstall$ node bin/weapp-tailwindcss.js patch │ node:internal/modules/cjs/loader:1204 │ throw new ERR_REQUIRE_ESM(filename, true); │ ^ │ Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\jack\WeChatProjects\weap-vite-test1\node_modules\.pnpm\c12@3.0.2\node_modules\c12\dist\index.mjs not supported. │ Instead change the require of C:\Users\jack\WeChatProjects\weap-vite-test1\node_modules\.pnpm\c12@3.0.2\node_modules\c12\dist\index.mjs to a dynamic import() which is available in all C… │ at Object.<anonymous> (C:\Users\jack\WeChatProjects\weap-vite-test1\node_modules\.pnpm\@tailwindcss-mangle+config@5.0.5\node_modules\@tailwindcss-mangle\config\dist\index.cjs:44:18)… │ code: 'ERR_REQUIRE_ESM' │ } │ Node.js v20.11.0 └─ Failed in 1.2s at C:\Users\jack\WeChatProjects\weap-vite-test1\node_modules\.pnpm\weapp-tailwindcss@4.0.8_tailwindcss@4.0.9\node_modules\weapp-tailwindcss ELIFECYCLE Command failed with exit code 1.