{"id":5548,"date":"2021-02-09T12:09:41","date_gmt":"2021-02-09T12:09:41","guid":{"rendered":"http:\/\/rockerstech.com\/documentation\/docs\/quickstart-login-registration-app\/common-errors\/dependency-error\/"},"modified":"2021-02-09T13:15:47","modified_gmt":"2021-02-09T13:15:47","slug":"dependency-error","status":"publish","type":"docs","link":"https:\/\/rockerstech.com\/documentation\/docs\/quickstart-login-registration-app\/common-errors\/dependency-error\/","title":{"rendered":"Dependency Error"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"when-you-run-the-application-and-you-see-error-like-this\">When you run the application and you see error like this<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">Running \"flutter pub upgrade\" in prokit-flutter...<br>The current Flutter SDK version is 1.17.5.<br><br>Because prokit_flutter depends on flutter_svg &gt;=0.18.0 which requires Flutter SDK version &gt;=1.18.0-6.0.pre &lt;2.0.0, version solving failed. pub upgrade failed (1; Because prokit_flutter depends on flutter_svg &gt;=0.18.0 which requires Flutter SDK version &gt;=1.18.0-6.0.pre &lt;2.0.0, version solving failed.) Process finished with exit code 1<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Error Possibilities:<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Generally, this error occurs when<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>one of your third party package version is not supported.<\/li><li>your Flutter SDK version not matched with one of your third party packages. for ex, your current Flutter SDK version is 1.20.0 and third party package targets Flutter SDK version 1.17.0.<\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Solution:<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>look for the latest version of your package in&nbsp;<a href=\"https:\/\/pub.dev\/packages\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/pub.dev\/packages\/YOUR_PACKAGE_NAME<\/a><\/li><li>or upgrade your flutter version if you don\u2019t have the latest with&nbsp;<strong>flutter upgrade&nbsp;<\/strong>command.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">After implementing the above solution, run the below command in the terminal.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">flutter pub get<\/pre>\n","protected":false},"featured_media":0,"parent":5525,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-5548","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/comments?post=5548"}],"version-history":[{"count":1,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5548\/revisions"}],"predecessor-version":[{"id":5566,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5548\/revisions\/5566"}],"up":[{"embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5525"}],"next":[{"title":"No matching client found for package name","link":"https:\/\/rockerstech.com\/documentation\/docs\/quickstart-login-registration-app\/common-errors\/no-matching-client-found-for-package-name\/","href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5549"}],"prev":[{"title":"Flutter SDK Not Available","link":"https:\/\/rockerstech.com\/documentation\/docs\/quickstart-login-registration-app\/common-errors\/flutter-sdk-not-available\/","href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5547"}],"wp:attachment":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/media?parent=5548"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=5548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}