Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not provide an export named 'withColorWidget' #2546

Closed
Fengxici opened this issue Dec 28, 2024 · 0 comments · Fixed by ng-alain/delon#1867
Closed

does not provide an export named 'withColorWidget' #2546

Fengxici opened this issue Dec 28, 2024 · 0 comments · Fixed by ng-alain/delon#1867
Labels

Comments

@Fengxici
Copy link

Reproduction link

https://github.com/ng-alain/delon/blob/master/packages/form/widgets/segmented/ng-package.json

Steps to reproduce

  1. register withColorWidget in json-schema.
  2. npm start in terminal
  3. open borwser dev tool,you will get a [does not provide an export named 'withColorWidget'] error

What is expected?

register withColorWidget rightly

What is actually happening?

the ng-package.json file in widget segmented folder is wrong,it's flatModuleFile shoud be "widget-segmented". not "widgets-color".like this:
{
"lib": {
"flatModuleFile": "widgets-sigment",
"entryFile": "index.ts"
}
}

Environment Info
ng-alain 18.3.0
Browser chrome V131.0.6778.205 64bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants