{"id":5420,"date":"2022-04-06T21:02:34","date_gmt":"2022-04-06T12:02:34","guid":{"rendered":"https:\/\/akamist.com\/blog\/?p=5420"},"modified":"2022-04-06T21:02:34","modified_gmt":"2022-04-06T12:02:34","slug":"m1%e3%81%aemac%e3%81%a7node-sass%e3%81%8c%e5%8b%95%e3%81%8b%e3%81%aa%e3%81%84%e6%99%82%e3%81%ab%e3%83%aa%e3%83%93%e3%83%ab%e3%83%89%e3%81%97%e7%9b%b4%e3%81%99%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/akamist.com\/blog\/archives\/5420","title":{"rendered":"M1\u306emac\u3067node-sass\u304c\u52d5\u304b\u306a\u3044\u6642\u306b\u30ea\u30d3\u30eb\u30c9\u3057\u76f4\u3059\u65b9\u6cd5"},"content":{"rendered":"<p>M1\u306emac\u3067node\u306enode-sass\u3092\u4f7f\u304a\u3046\u3068\u3057\u305f\u6642\u306b\u3001<code>OS X Unsupported architecture (arm64)<\/code>\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u6642\u306b\u5bfe\u51e6\u3057\u305f\u6642\u306e\u624b\u9806\u3092\u5099\u5fd8\u9332\u3068\u3057\u3066\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h2>\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc<\/h2>\n<p><code>npm run<\/code>\u3059\u308b\u3068\u3001node-sass\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308b<\/p>\n<pre><code class=\"language-bash\">$ npm run watch\n\nModule build failed (from .\/node_modules\/sass-loader\/lib\/loader.js):\nError: Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64) with Node.js 14.x\nFor more information on which environments are supported please see:\nhttps:\/\/github.com\/sass\/node-sass\/releases\/tag\/v4.14.1\n<\/code><\/pre>\n<h2>\u5bfe\u51e6\u6cd5<\/h2>\n<p>mac\u4e0a\u3067\u3001<code>npm rebuild node-sass<\/code>\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<pre><code class=\"language-bash\">npm rebuild node-sass\n<\/code><\/pre>\n<p>Docker\u3092\u4f7f\u3063\u3066\u3044\u308b\u6642\u306f\u3001docker\u5185\u3067\u306f\u306a\u304fmacOS\u4e0a\u3067\u4f5c\u696d\u3059\u308b\u306e\u304c\u30dd\u30a4\u30f3\u30c8\u3002<\/p>\n<p>rebuild\u306e\u9014\u4e2d\u3067<code>python2\u304c\u306a\u3044<\/code>\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u306e\u3067\u3001\u3055\u3089\u306b<a href=\"https:\/\/akamist.com\/blog\/archives\/5415\">\u3053\u3061\u3089<\/a>\u306e\u624b\u9806\u3067python2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u884c\u306a\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>M1\u306emac\u3067node\u306enode-sass\u3092\u4f7f\u304a\u3046\u3068\u3057\u305f\u6642\u306b\u3001OS X Unsupported architecture (arm64)\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u6642\u306b\u5bfe\u51e6\u3057\u305f\u6642\u306e\u624b\u9806\u3092\u5099\u5fd8\u9332\u3068\u3057\u3066\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002 \u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc n [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[334,177,328,335,333,336],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":2213,"url":"https:\/\/akamist.com\/blog\/archives\/2213","url_meta":{"origin":5420,"position":0},"title":"[Angular]QuickStart\u5b9f\u884c\u6642\u306b\u3001concurrently\\src\\main.js\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f","date":"2018\u5e743\u670822\u65e5","format":false,"excerpt":"## \u767a\u751f\u3057\u305f\u73fe\u8c61 angular\u306eQuickStart\u3067\u3001npm start\u3059\u308b\u3068\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u2026","rel":"","context":"Angular","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2018\/03\/icon_angular.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5592,"url":"https:\/\/akamist.com\/blog\/archives\/5592","url_meta":{"origin":5420,"position":1},"title":"next.js\u3067yarn start\u3059\u308b\u3068SyntaxError: Unexpected token '??='\u30a8\u30e9\u30fc\u304c\u51fa\u308b","date":"2023\u5e748\u670821\u65e5","format":false,"excerpt":"## \u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc Next.js\u3092`npx create-next-app@latest`\u3067\u30a4\u30f3\u2026","rel":"","context":"\u672a\u5206\u985e","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5449,"url":"https:\/\/akamist.com\/blog\/archives\/5449","url_meta":{"origin":5420,"position":2},"title":"AWS Amplify\u3067\u5358\u4e00\u306eDocker\u30b3\u30f3\u30c6\u30ca\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u65b9\u6cd5","date":"2022\u5e745\u67081\u65e5","format":false,"excerpt":"AWS Amplify\u3067\u3001docker-compose\u3092\u4f7f\u308f\u305a\u306b\u3001Dockerfile\u3060\u3051\u7528\u610f\u3057\u3066\u5358\u2026","rel":"","context":"\u672a\u5206\u985e","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2017\/08\/icon_aws.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5374,"url":"https:\/\/akamist.com\/blog\/archives\/5374","url_meta":{"origin":5420,"position":3},"title":"[node] fetch()\u3067\u30a8\u30e9\u30fcReferenceError: fetch is not defined\u304c\u51fa\u308b","date":"2022\u5e743\u670824\u65e5","format":false,"excerpt":"## \u30a8\u30e9\u30fc\u306e\u5185\u5bb9 node.js\u306e\u30b3\u30fc\u30c9\u3067fetch()\u95a2\u6570\u3092\u547c\u307c\u3046\u3068\u3057\u305f\u3089 ## \u30d7\u30ed\u30b0\u30e9\u30e0 #\u2026","rel":"","context":"\u672a\u5206\u985e","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5279,"url":"https:\/\/akamist.com\/blog\/archives\/5279","url_meta":{"origin":5420,"position":4},"title":"[MUI] @mui\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3088\u3046\u3068\u3057\u305f\u3089TS2792\u30a8\u30e9\u30fc\u304c\u51fa\u308b","date":"2022\u5e741\u670827\u65e5","format":false,"excerpt":"## \u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc React + TypeScript\u306e\u74b0\u5883\u3067\u3001MUI\u3092\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001im\u2026","rel":"","context":"JavaScript","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2827,"url":"https:\/\/akamist.com\/blog\/archives\/2827","url_meta":{"origin":5420,"position":5},"title":"[Laravel] \"npm run dev\"\u306e\u5b9f\u884c\u6642\u306b\u30a8\u30e9\u30fc\"ERR! code ELIFECYCLE\"\u304c\u767a\u751f\u3057\u305f\u6642","date":"2018\u5e745\u670828\u65e5","format":false,"excerpt":"Laravel\u3067\u306flaravel-mix\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30a4\u30c9\u306ecss,js\u306e\u30d3\u30eb\u30c9\u3092\u2026","rel":"","context":"\u672a\u5206\u985e","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2017\/11\/icon_laravel.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/5420"}],"collection":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/comments?post=5420"}],"version-history":[{"count":2,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/5420\/revisions"}],"predecessor-version":[{"id":5422,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/5420\/revisions\/5422"}],"wp:attachment":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/media?parent=5420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/categories?post=5420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/tags?post=5420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}