PicoCreator / smol-dev-js

Smol personal AI, for smol incremental tasks in a JS project
MIT License
324 stars 52 forks source link

Error: ENOENT: no such file or directory, rename... #16

Open RickRyan26 opened 1 year ago

RickRyan26 commented 1 year ago

I'm using Claude, Windows 11, and I'm throwing this...

Error: ENOENT: no such file or directory, rename 'C:\Users\rickr\OneDrive\Desktop\smol\style.css' -> 'C:\Users\rickr\OneDrive\Desktop\smol\css\style.css'

Below is my CLI when starting from an empty directory (outside of setup files). My current work around is beginning each prompt with "Without moving any files..." but that's no good =/

Thoughts? Thank you and this repo is awesome!

PS C:\Users\rickr\OneDrive\Desktop\smol> smol-dev-js run
--------------------
🐣 [ai]: hi its me, the ai dev ! you said you wanted
         here to help you with your project, which is a ....
--------------------
A simple snake game created with javascript and runs in the browser.
--------------------
🐣 [ai]: What would you like me to do? (PS: this is not a chat system, there is no chat memory prior to this point)
√ [you]:  ... Suggest something
🐣 [ai]:  Here is the updated plan draft:

Generate a `index.html` file to act as the entry point for the game. It will contain the canvas element to render the game and link to the `snake.js` and `style.css` files.

Generate a `snake.js` file which will contain the game logic. It will keep track of the snake segments, handle user input to change direction, check for collisions, update the position of the snake segments and render the snake.

Generate a `style.css` file to contain some basic styling for the canvas and to center it on the page.

Update `README.md` to describe the project, files and how to run the game.

Ask the user to:

- Run and test the code
- Make any changes to the files as needed
- Let me know if any files need to be updated or added
√ [you]: Proceed with the plan? ... yes
🐣 [ai]: Working on the plan ...
🐣 [ai]: Studying 0 dependencies (in parallel)
🐣 [ai]: Performing any required modules install / file moves / deletion
🐣 [ai]: Studying 0 dependencies (awaiting in parallel)
🐣 [ai]: Preparing summaries for smol-er sub-operations ...
🐣 [ai]: (async) Updating src file - index.html
🐣 [ai]: (async) Updating src file - snake.js
🐣 [ai]: (async) Updating src file - style.css
🐣 [ai]: Finished current set of async spec/src file update (1st round)
🐣 [ai]: (async) Updating src file - README.md
🐣 [ai]: Finished current set of async spec/src file update (2nd round)
🐣 [ai]: What would you like me to do? (PS: this is not a chat system, there is no chat memory prior to this point)
√ [you]:  ... Suggest something
🐣 [ai]:  Here is the updated plan draft:

Move `style.css` into a `css` folder.
Generate a `game.js` file with the game logic.
Update `index.html` to include the new `css` folder and `game.js` file.
Ask the user to test and provide feedback.
√ [you]: Proceed with the plan? ... yes
🐣 [ai]: Working on the plan ...
🐣 [ai]: Studying 1 dependencies (in parallel)
🐣 [ai]: Performing any required modules install / file moves / deletion
Error: ENOENT: no such file or directory, rename 'C:\Users\rickr\OneDrive\Desktop\smol\style.css' -> 'C:\Users\rickr\OneDrive\Desktop\smol\css\style.css'
RickRyan26 commented 1 year ago

Set everything up in Ubuntu and am recieving the same error =(

drumnation commented 1 year ago

Been playing with this and seems like everything works until it has to create a folder or move things. A permissions issue? I'm using Claude on Mac OS.