weex can't install plugin

149 Views Asked by At

I run this command

weex platform add ios

Then added a plugin using command

weex plugin add weex-svg

Always encouter this error

Error: The provided path "/Users/rupert/Code/test/svgapp/platforms/ios/Weexplugin" is not a weexpack iOS project.

Why am I getting this Error, and how to solve this?

2

There are 2 best solutions below

0
On

I don't think weex-svg is more maintainable to support newer weex enviroment. I have removed svg and started using images. Hope this will help you

1
On
ca /Users/rupert/Code/test/svgapp && weex plugin add weex-svg