Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

pnpm-store-project-mirror-breaks-vitest-glob

النجوم٢
التفرعات٠
آخر تحديث٢٥ يونيو ٢٠٢٦ في ٠٦:٠٧

After `pnpm install` in a git worktree, vitest/jest can discover a test file from a SECOND path — pnpm hardlinks the whole project (test/ included) into `~/Library/pnpm/store/v<n>/projects/<hash>/`, and the glob picks up that out-of-root mirror where the `@/` alias / vite root doesn't apply → bogus "Cannot find package '@/...'" resolution errors. Clearing the stale store-project mirror fixes it.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly