spartan: Missing modules in hlm-form-field and hlm-input

Please provide the environment you discovered this bug in.

    "@angular/cli": "^18.2.2",
    "@angular/compiler-cli": "^18.2.0",
    "@spartan-ng/cli": "^0.0.1-alpha.361",

Which area/package is the issue in?

input

Description

There are errors generated in two files:

  1. hlm-input.directive.ts
import { BrnFormFieldControl } from '@spartan-ng/ui-form-field-brain';
import { ErrorStateMatcher, ErrorStateTracker } from '@spartan-ng/ui-forms-brain';
Cannot find module '@spartan-ng/ui-form-field-brain' or its corresponding type declarations
Cannot find module '@spartan-ng/ui-forms-brain' or its corresponding type declarations
  1. hlm-form-field.component.ts
import { BrnFormFieldControl } from '@spartan-ng/ui-form-field-brain';
import { HlmErrorDirective } from './hlm-error.directive';
Cannot find module '@spartan-ng/ui-form-field-brain' or its corresponding type declarations
image

Please provide the exception or error you saw

✘ [ERROR] TS2307: Cannot find module '@spartan-ng/ui-form-field-brain' or its corresponding type declarations. [plugin angular-compiler]

    components/ui-input-helm/src/lib/hlm-input.directive.ts:4:36:
      4 │ import { BrnFormFieldControl } from '@spartan-ng/ui-form-field-brain';
        ╵                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


✘ [ERROR] TS2307: Cannot find module '@spartan-ng/ui-forms-brain' or its corresponding type declarations. [plugin angular-compiler]

    components/ui-input-helm/src/lib/hlm-input.directive.ts:5:53:
      5 │ ...tateMatcher, ErrorStateTracker } from '@spartan-ng/ui-forms-brain';
        ╵                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Other information

Tailwind config

/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [require("@spartan-ng/ui-core/hlm-tailwind-preset")],
  content: ["./src/**/*.{html,ts}", "./components/**/*.{html,ts}"],
  theme: {
    extend: {},
  },
  plugins: [],
};

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

  • Yes
  • No

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 19 (7 by maintainers)

Commits related to this issue

Most upvoted comments

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

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

I’m facing an issue during installation itself:

image

3 different error logs: