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

Import of cropper.css cannot be resolved #40

Open
rrezartamuja2019 opened this issue Aug 2, 2024 · 1 comment
Open

Import of cropper.css cannot be resolved #40

rrezartamuja2019 opened this issue Aug 2, 2024 · 1 comment

Comments

@rrezartamuja2019
Copy link

rrezartamuja2019 commented Aug 2, 2024

Hello,
we are receiving this error when trying to build the application:
Could not resolve "~cropperjs/dist/cropper.css"

We can temporality bypass this by replacing '~' with '../' in the first line of the file ngx-photo-editor/photo-editor.css, but this is not the best and final solution.

These are our app's main versions:

Node: 18.16.1
Angular: 17.3.12
Package Manager: pnpm 9.0.5
Angular CLI: 17.3.8

Can you make an update to substitute the '~' with '../' or if you know any other solution we can use to bypass this problem.

This is the second application using 'Image Cropper for Angular'. Thank you for this useful and powerful module.

@maxbauer
Copy link

@rrezartamuja2019 see #38

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