Angular - Can't resolve 'croppie' in node_modules\ngx-croppie\esm5

有些话、适合烂在心里 提交于 2019-12-13 03:47:40

问题


I'm trying to add a croppie to my Angular project, and by following this link:

https://www.npmjs.com/package/ngx-croppie

I executed this command :

npm i ngx-croppie

And this added croppie and ngx-croppie to my project in node_modules, but now I'm facing next error: And Indeed when I open my component, there is a this issue:

And in my node_modules there is no croppie folder but in node_modules/@types/ croppie exist as in next image:


回答1:


please uninstall ngx-croppie package and again install npm install ngx-croppie@1.0.1package and then install npm install.



来源:https://stackoverflow.com/questions/50253559/angular-cant-resolve-croppie-in-node-modules-ngx-croppie-esm5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!