Keats / kickstart

A scaffolding tool to get new projects up and running quickly
MIT License
354 stars 24 forks source link

Error: File name too long (os error 36): "" #54

Closed sacha-l closed 2 years ago

sacha-l commented 3 years ago

I get this error when using:

 kickstart . -o new-project-folder

Then it creates a folder with seemingly infinite sub directories of the same name — all empty.

This could be something specific to how the -o command is implemented. Have you come across this issue @Keats ? Thanks!

Keats commented 3 years ago

I haven't seen that but that sounds like a bug. Do you have an easy reproduction repo somewhere?

sacha-l commented 3 years ago

Yes, I'm working on this project here. To reproduce you probably will need to clone the repo first and them run:

kickstart . -o proj-name

The: kickstart https://github.com/sacha-l/kickstart-substrate command seems to be having issues with reading the submodule.

Keats commented 3 years ago

command seems to be having issues with reading the submodule.

The git clone was not including the submodules, should be fixed in the next version. The other issue was that the output dir was not being ignored while generating, resulting in that non-stop recursion.

Can you try https://github.com/Keats/kickstart/pull/53 ?

sacha-l commented 3 years ago

Great, that worked!

Keats commented 3 years ago

cool I'll release it soon then