-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Description
Describe the bug
I was testing Vite+ today, tried scaffolding a monorepo and Vite+ threw an exception regarding symlinking agent instruction files, logs below
Reproduction
https://discord.com/channels/1475973262193459293/1479410337223802951/1482267720924790966 🤷 sorry
Steps to reproduce
Pre-requisite: Be on Windows
- Run
vp create - Choose any template and any package manager
- Choose 2 or more coding agents in the "What coding agents do you use?" step
- Go through the rest of the setup with whatever you want
EPERM: operation not permitted, symlink '..\AGENTS.md' -> [...]
System Info
PS C:\Users\KT\git\KTrain5169\vite-plus-testing> vp env current
error: Command 'env' not found
PS C:\Users\KT\git\KTrain5169\vite-plus-testing> vp --version
VITE+ - The Unified Toolchain for the Web
vp v0.1.11
Local vite-plus:
vite-plus Not foundUsed Package Manager
pnpm
Logs
PS C:\Users\KT\git\KTrain5169> vp create
VITE+ - The Unified Toolchain for the Web
Vite+ Monorepo
◇ Package name:
vite-plus-testing
◇ Which package manager would you like to use?
pnpm
◇ Which agents are you using?
ChatGPT (Codex), GitHub Copilot, Cursor
◇ Which editor are you using?
VSCode
◇ Set up pre-commit hooks to run formatting, linting, and type checking with auto-fixes?
No
◐ Creating monorepo (7s)
Please manually merge vite-plus-testing/packages/utils/tsdown.config.ts into vite-plus-testing/packages/utils/vite.config.ts, see https://viteplus.dev/migration/#tsdown
EPERM: operation not permitted, symlink '..\AGENTS.md' -> 'C:\Users\KT\git\KTrain5169\vite-plus-testing\.github\copilot-instructions.md'
Error: EPERM: operation not permitted, symlink '..\AGENTS.md' -> 'C:\Users\KT\git\KTrain5169\vite-plus-testing\.github\copilot-instructions.md'
at async Object.symlink (node:internal/fs/promises:999:10)
at async tryLinkTargetToAgents (file:///C:/Users/KT/AppData/Local/pnpm/global/5/.pnpm/vite-plus@0.1.11_@types+nod_bb8f334bcbb5c478680efe19a7c3f07d/node_modules/vite-plus/dist/global/agent-BinmPKap.js:2155:2)
at async writeAgentInstructions (file:///C:/Users/KT/AppData/Local/pnpm/global/5/.pnpm/vite-plus@0.1.11_@types+nod_bb8f334bcbb5c478680efe19a7c3f07d/node_modules/vite-plus/dist/global/agent-BinmPKap.js:2075:8)
at async main (file:///C:/Users/KT/AppData/Local/pnpm/global/5/.pnpm/vite-plus@0.1.11_@types+nod_bb8f334bcbb5c478680efe19a7c3f07d/node_modules/vite-plus/dist/global/create.js:4081:3) {
errno: -4048,
code: 'EPERM',
syscall: 'symlink',
path: '..\\AGENTS.md',
dest: 'C:\\Users\\KT\\git\\KTrain5169\\vite-plus-testing\\.github\\copilot-instructions.md'
}
Failed to generate code: EPERM: operation not permitted, symlink '..\AGENTS.md' -> 'C:\Users\KT\git\KTrain5169\vite-plus-testing\.github\copilot-instructions.md'Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackPriority
None yet
Effort
None yet