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

Module '"@ngneat/edit-in-place"' has no exported member 'EditableModule'. #97

Open
Dcode22 opened this issue Dec 4, 2023 · 3 comments

Comments

@Dcode22
Copy link

Dcode22 commented Dec 4, 2023

I'm submitting a

Bug report

Current behavior

I am getting an error indicating that the EditableModule is not exported from @ngneat/edit-in-place. I am on @ngneat/edit-in-place version 1.9.0 and using Angular 17.

Expected behavior

As in the documentation https://www.npmjs.com/package/@ngneat/edit-in-place, I should be able to import the EditableModule from "@ngneat/edit-in-place"

Minimal reproduction of the problem with instructions

In Angular 17 app.component.ts, with @ngneat/edit-in-place version 1.9.0 installed:
import { EditableModule } from '@ngneat/edit-in-place';
Typescript error: Module '"@ngneat/edit-in-place"' has no exported member 'EditableModule'.ts(2305)
And ng serve fails

The library is installed and my app is otherwise working, as I have been able to import individual directives and the EditableComponent from @ngneat/edit-in-place

What is the motivation / use case for changing the behavior?

No response

Environment

No response

@geromegrignon
Copy link
Collaborator

Hello @Dcode22 I need to push a new version to update the npm documentation. Please refer to the GitHub readme meanwhile

@Dcode22
Copy link
Author

Dcode22 commented Dec 4, 2023

Thanks!

@Dcode22 Dcode22 closed this as completed Dec 4, 2023
@Dcode22
Copy link
Author

Dcode22 commented Dec 4, 2023

Actually you may want to update the readme as well, as it has the EditModeDirective imported twice:
import { EditableComponent, EditModeDirective, EditModeDirective } from '@ngneat/edit-in-place';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants