Open aghwotu opened 2 weeks ago
Is there a temporary fix for this? Even though the bugfix got merged I still get the same result using npx nx g @spartan-ng/cli:ui formfield
I released the new cli which should fix this! Let me know if you get it to work now
Hi, @goetzrobin, I'm facing a similar issue with installing input & label. Where can I see the latest releases on GitHub? I'm on 0.0.1-alpha.362
That is the newest. Are you still getting the exact same error? I'll take a look
I'm facing an issue during installation itself:
3 different error logs:
Also, maybe unrelated, @spartan-ng/ui-core is on 0.0.1-alpha.354
- Should that be bumped to 362 as well?
@ajitzero just pushed a new version. if you wanna try it. i am testing it now, too
It works now! (but) I'm seeing two versions of form field:
i just pushed the final version (hopefully)
cli 0.0.1-alpha.364 & ui 0.0.1-alpha.355
you should be able to remove the ui-form-field-brain and dependency issues should be resolved
@ajitzero let me know if everything looks good from your side now
All good! Thanks for helping out so quickly!
For some reason, the CLI generator had added these to the main package.json in the dependencies section, which I removed manually. I'll try this out in a different repo to check if that happens again or if I mistyped something.
@goetzrobin I just tried again after deleting node modules, and the original issue is happening again :(
'@spartan-ng/ui-forms-brain'
clearly doesn't exist, so should this just be '@spartan-ng/ui-core'
? Manually changing it doesn't work.
It's almost 3 am here, so I'll check again tomorrow. Good night!
Hey there! The cli should install it the ui-forms-brain for you 🤔 I'll check it out tomorrow also
I think @spartan-ng/ui-formfield-brain
is not yet published to npm, the package name was changed in the last commit chore: release cli 0.0.1-alpha.364 & ui 0.0.1-alpha.355
@marcjulian It's available on npm:
I was trying to install @spartan-ng/ui-formfield-brain
. Now i can find it on npm too https://www.npmjs.com/package/@spartan-ng/ui-formfield-brain
There is a peer dependency issue with select pointing to @spartan-ng/ui-form-field-brain@0.0.1-alpha.355
which only exists as @spartan-ng/ui-formfield-brain@0.0.1-alpha.355
. Fixed with #374
Please provide the environment you discovered this bug in.
Which area/package is the issue in?
input
Description
There are errors generated in two files:
hlm-input.directive.ts
hlm-form-field.component.ts
Please provide the exception or error you saw
Other information
Tailwind config
I would be willing to submit a PR to fix this issue