Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RickRyan26 opened this issue Jun 13, 2023 · 2 comments
Open

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

RickRyan26 opened this issue Jun 13, 2023 · 2 comments

Comments

@RickRyan26
Copy link

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
Copy link
Author

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

@drumnation
Copy link

drumnation commented Jun 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants