{"id":354,"date":"2022-11-21T12:32:03","date_gmt":"2022-11-21T03:32:03","guid":{"rendered":"https:\/\/software.satoshis.jp\/?p=354"},"modified":"2023-04-11T14:13:59","modified_gmt":"2023-04-11T05:13:59","slug":"ubuntu%e3%81%a7npm%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%9f%e3%82%89%e3%80%8cunable-to-correct-problems-you-have-held-broke","status":"publish","type":"post","link":"https:\/\/software.satoshis.jp\/?p=354","title":{"rendered":"Ubuntu\u3067npm\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u300cUnable to correct problems, you have held broken packages.\u300d\u3068\u6012\u3089\u308c\u305f"},"content":{"rendered":"<p>\u305d\u3082\u305d\u3082\u306e\u8a71\u306fLaravel\u3002<\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089\u3001\u300cRun `npm run dev` in your terminal and refresh the page.\u300d\u3068\u6012\u3089\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001npm\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u300cUnable to correct problems, you have held broken packages.\u300d\u3068\u8a00\u308f\u308c\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u306e\u3067\u3059\u3002<\/p>\n<p>\u3050\u3050\u3063\u3066\u3044\u308d\u3044\u308d\u3068\u8a66\u3059\u3082\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3093\u3067\u3059\u304c\u3001\u3055\u3059\u304c\u306easkubuntu.com\u3067\u3059\u3002<\/p>\n<p>\u226b <a href=\"https:\/\/askubuntu.com\/questions\/899756\/cant-install-npm-unable-to-correct-problems-you-have-held-broken-packages\">apt &#8211; Can&#8217;t install npm &#8211; Unable to correct problems, you have held broken packages? &#8211; Ask Ubuntu<\/a><\/p>\n<p>\u4e0a\u304b\u3089\u9806\u756a\u306b\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u4e00\u756a\u6700\u5f8c\u306e\u3084\u3064\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ curl -fsSL https:\/\/deb.nodesource.com\/setup_18.x | sudo -E bash -\r\n$ sudo apt-get install nodejs\r\n<\/pre>\n<p>\u3067\u3001https:\/\/deb.nodesource.com\/ \u3092\u898b\u3066\u307f\u305f\u3089\u3001\u8aac\u660e\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\nUbuntu\u306e\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ curl -fsSL https:\/\/deb.nodesource.com\/setup_19.x | sudo -E bash -\r\n$ sudo apt-get install nodejs\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u305d\u3082\u305d\u3082\u306e\u8a71\u306fLaravel\u3002 \u30ed\u30fc\u30ab\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089\u3001\u300cRun `npm run dev` in your terminal and refresh the page.\u300d\u3068\u6012\u3089\u308c\u307e\u3057\u305f\u3002  &#8230; <\/p>\n","protected":false},"author":1,"featured_media":216,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,49],"tags":[140,79,50],"class_list":["post-354","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","category-ubuntu","tag-nodejs","tag-npm","tag-ubuntu"],"nelio_content":{"autoShareEndMode":"never","automationSources":{"useCustomSentences":false,"customSentences":[]},"efiAlt":"","efiUrl":"","followers":[1],"highlights":[],"isAutoShareEnabled":true,"networkImageIds":[],"permalinkQueryArgs":[],"series":[],"suggestedReferences":[]},"views":3045,"_links":{"self":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=354"}],"version-history":[{"count":1,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/354\/revisions"}],"predecessor-version":[{"id":355,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/354\/revisions\/355"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=\/wp\/v2\/media\/216"}],"wp:attachment":[{"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/software.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}