directus-labs / directus-template-cli

Apply "templates" to a new, empty Directus project.
MIT License
88 stars 15 forks source link

TypeError on export #65

Open ulysse-lacour opened 1 month ago

ulysse-lacour commented 1 month ago

Hello, on a project when trying to export template I'm always getting this very non verbose error :

Loading 92 files... !
TypeError: The "paths[2]" argument must be of type string. Received null
Code: ERR_INVALID_ARG_TYPE`

Any idea how could I debug/fix this ?

ulysse-lacour commented 1 month ago

Anyone ? Still stuck on exact same issue and couldn't find any way to export template...

bryantgillespie commented 2 days ago

Are you trying to extract a template or apply a template? Because the code above looks to be from the apply command.