goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.13k stars 123 forks source link

Spartan-ng/cli@0.0.1-alpha.339 fails on ng g with Cannot convert undefined or null to object #210

Closed redzimskidev closed 4 months ago

redzimskidev commented 4 months ago

Please provide the environment you discovered this bug in.

New Angular app without Nx

Which area/package is the issue in?

accordion

Description

Steps to reproduce: 1) ng g @angular/cli@latest -g 2) ng new 3) install tailwind 4) follow spartan manual for installation 5) on ng g @spartan-ng/cli:ui fails with Cannot convert undefined or null to object no matter what options I chose Installing @0.0.1-alpha.337 fixed the issue.

Please provide the exception or error you saw

Cannot convert undefined or null to object

Other information

No response

I would be willing to submit a PR to fix this issue

i-am-the-slime commented 4 months ago

Same problem here, do you know of a workaround? This is for everything not just accordion for me.

redzimskidev commented 4 months ago

Yeah, on version version 0.0.1-alpha.337 it works fine.

i-am-the-slime commented 4 months ago

Perfect, thanks I'll pin that for now!

goetzrobin commented 4 months ago

Just released a fix for this with version 340! Please upgrade :)