Skip to content

ERROR in Cannot find module ‘node-sass’

Last updated on 2023 年 1 月 30 日

最近在專案上使用到 node-sass ,安裝的時候一直出錯,出現了 “ERROR in Cannot find module 'node-sass',所以紀錄一下。

只要執行的時候,加上一些參數,如下面

sudo npm install --save-dev  --unsafe-perm node-sass

就可以正常執行了。

Published in筆記

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

error: 尊重智慧財產權,請不要隨意複製使用文章喔