animotionjs / animotion

🪄 Create beautiful presentations with Svelte
https://animotion.pages.dev
MIT License
1.38k stars 41 forks source link

Incorrect path for renaming ignore to .gitignore #23

Closed ardentkilnfire closed 8 months ago

ardentkilnfire commented 8 months ago

Renaming of ignore file fails due to incorrect path


➜  ~ pnpm create @animotion
AppData/Local/pnpm/store/v3/tmp/dlx-6796 |   +5 +
AppData/Local/pnpm/store/v3/tmp/dlx-6796 | Progress: resolved 5, reused 5, downloaded 0, added 5, done

┌  Welcome to Animotion!
│
◇  Where should I create your project?
│  test
│
◇  Install dependencies? (requires pnpm)
│  No
│
└  Done. 🪄

💿️ Start the development server:
pnpm run dev

💬 Discord
https://joyofcode.xyz/invite
[Error: ENOENT: no such file or directory, rename 'C:\Users\akt01\ignore' -> 'C:\Users\akt01\.gitignore'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'rename',
  path: 'C:\\Users\\akt01\\ignore',
  dest: 'C:\\Users\\akt01\\.gitignore'
}```
ardentkilnfire commented 8 months ago

I have worked on it and tried to fix this issue, Here's the PR where i have tried to fix it , please have look at it.

MayukhSobo commented 6 months ago

This doesn't fix the issue for me yet! @mattcroat, Is it really fixed?

mattcroat commented 6 months ago

This doesn't fix the issue for me yet! @mattcroat, Is it really fixed?

It works for me.