網站首頁 前端文檔 正文
解決sass問題:npm ERR! node-sass@9.0.0 postinstall: `node scripts/build.js`
作者:云邊的快樂貓 更新時間: 2024-03-20 前端文檔目錄
一、遇到問題
解決辦法
二、?再次遇到問題?
解決辦法?
題外話
一、遇到問題
1.運行這個項目的適合,遇到了沒有sass的問題
解決辦法
然后就用命令下載sass
npm install node-sass
二、?再次遇到問題?
2.下載sass的時候又發現了一個這樣的問題
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@9.0.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@9.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! D:\IT_base\node16\node_cache\_logs\2023-09-15T17_50_36_308Z-debug.log
解決辦法?
檢查在這個錯誤之前有沒有其他的錯誤出現,如果有就先去解決其他的問題,只有這個錯誤就把這個sass的源改成淘寶源就可以解決了
npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
然后再去重新下載依賴試試看
npm install
題外話
我這里除了這個錯誤,還有沒有下載python環境的錯誤,要先去下載python的環境再來弄這個。
原文鏈接:https://blog.csdn.net/m0_52861000/article/details/132914025
- 上一篇:沒有了
- 下一篇:沒有了
相關推薦
- 2022-03-12 c++調用實現yolov5轉onnx介紹_C 語言
- 2022-08-08 pd.to_datetime中時間object轉換datetime實例_python
- 2024-01-13 nvm命令
- 2022-05-27 一起來學習C語言的程序環境與預處理_C 語言
- 2022-07-11 為Spring配置文件的配置項添加元注釋
- 2022-07-01 C語言詳細講解strcpy?strcat?strcmp函數的模擬實現_C 語言
- 2022-11-06 Android?ViewPager2?使用及自定義指示器視圖實現_Android
- 2022-05-28 Nginx實現Nacos反向代理的項目實踐_nginx
- 欄目分類
-
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支