{"id":989,"date":"2019-03-28T14:41:42","date_gmt":"2019-03-28T11:41:42","guid":{"rendered":"https:\/\/artem.services\/?p=989"},"modified":"2019-03-28T14:42:44","modified_gmt":"2019-03-28T11:42:44","slug":"fix-error-npm-couldnt-follow-symbolic-link","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=989","title":{"rendered":"FIX ERROR &#8212; npm: Couldn&#8217;t follow symbolic link"},"content":{"rendered":"<p>\u041f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f <strong>Android<\/strong> \u043d\u0430 <strong>Ubuntu<\/strong> \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443:<\/p>\n<pre>FAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nFailed to capture fingerprint of input files for task ':app:bundleReleaseJsAndAssets' property '$1' during up-to-date check.\r\n&gt; Could not list contents of '\/var\/lib\/jenkins\/workspace\/myapp_develop_0.0.1\/node_modules\/react-native-interactable\/{ios,android}'. Couldn't follow symbolic link.<\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 &quot;<strong>node_modules\/react-native-interactable<\/strong>&quot; \u0442\u043e \u0432\u0438\u0434\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nll node_modules\/react-native-interactable\/\r\ntotal 268K\r\ndrwxr-xr-x   5 jenkins jenkins 4.0K Mar 28 09:40 .\r\ndrwxr-xr-x 866 jenkins jenkins  36K Mar 28 09:40 ..\r\ndrwxr-xr-x   2 jenkins jenkins 4.0K Mar 28 09:40 .ghp\r\n-rw-r--r--   1 jenkins jenkins   35 Mar 28 09:40 index.android.js\r\n-rw-r--r--   1 jenkins jenkins   31 Mar 28 09:40 index.ios.js\r\n-rw-r--r--   1 jenkins jenkins  569 Mar 28 09:40 Interactable.podspec\r\nlrwxrwxrwx   1 jenkins jenkins   17 Mar 28 09:40 {ios,android} -&gt; lib\/{ios,android}\r\ndrwxr-xr-x   5 jenkins jenkins 4.0K Mar 28 09:40 lib\r\n-rw-r--r--   1 jenkins jenkins 1.1K Mar 28 09:40 LICENSE\r\n-rw-r--r--   1 jenkins jenkins 1.3K Mar 28 09:40 package.json\r\n-rw-r--r--   1 jenkins jenkins  12K Mar 28 09:40 PROPS.md\r\n-rw-r--r--   1 jenkins jenkins  16K Mar 28 09:40 README.md\r\n-rw-r--r--   1 jenkins jenkins  276 Mar 28 09:40 SUPPORT.md\r\ndrwxr-xr-x   2 jenkins jenkins 4.0K Mar 28 09:40 typings\r\n-rw-r--r--   1 jenkins jenkins 1.7K Mar 28 09:40 UX-INSPIRATIONS.md\r\n-rw-r--r--   1 jenkins jenkins 159K Mar 28 09:40 yarn.lock\r\n<\/pre>\n<h4>\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/h4>\n<p>\u0414\u043b\u044f <strong>npm<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nnpm config set script-shell &quot;\/bin\/bash&quot;\r\n<\/pre>\n<p>\u0414\u043b\u044f <strong>yarn<\/strong><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyarn config set script-shell &quot;\/bin\/bash&quot;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e &quot;<strong>node_modules<\/strong>&quot; \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <strong>npm<\/strong> \u0438\u043b\u0438 <strong>yarn<\/strong>.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043b\u0438\u043d\u043a \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nlrwxrwxrwx   1 jenkins jenkins   11 Mar 28 09:38 android -&gt; lib\/android\r\nlrwxrwxrwx   1 jenkins jenkins    7 Mar 28 09:38 ios -&gt; lib\/ios\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f Android \u043d\u0430 Ubuntu \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443: FAILURE: Build failed with an exception. * What went wrong: Failed to capture fingerprint of input files for task &#39;:app:bundleReleaseJsAndAssets&#39; property &#39;$1&#39; during up-to-date check. &gt; Could not list contents of &#39;\/var\/lib\/jenkins\/workspace\/myapp_develop_0.0.1\/node_modules\/react-native-interactable\/{ios,android}&#39;. Couldn&#8217;t follow symbolic link. \u0415\u0441\u043b\u0438 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 &quot;node_modules\/react-native-interactable&quot; \u0442\u043e \u0432\u0438\u0434\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435: &hellip; <a href=\"https:\/\/artem.services\/?p=989\" class=\"more-link\">\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c<span class=\"screen-reader-text\"> &quot;FIX ERROR &#8212; npm: Couldn&#8217;t follow symbolic link&quot;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[49],"tags":[94,89,51,50,737,723,6,735],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/989"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=989"}],"version-history":[{"count":3,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/989\/revisions"}],"predecessor-version":[{"id":992,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/989\/revisions\/992"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}