国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

npm install時(shí)出現(xiàn)的問(wèn)題Failed at the node-sass@4.14.1 postinstall script

這篇具有很好參考價(jià)值的文章主要介紹了npm install時(shí)出現(xiàn)的問(wèn)題Failed at the node-sass@4.14.1 postinstall script。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問(wèn)。

從阿里云上拉取下來(lái)項(xiàng)目后,首先使用npm install 命令進(jìn)行安裝所需依賴,意想不到的事情發(fā)生了,報(bào)出了Failed at the node-sass@4.14.1 postinstall script,這個(gè)問(wèn)題,頓時(shí)一臉懵逼;詢問(wèn)前端大佬,給出的反饋是,“沒(méi)法解決”,這時(shí)我有點(diǎn)不知所措了,大佬都說(shuō)沒(méi)法解決了。

npm install時(shí)出現(xiàn)的問(wèn)題Failed at the node-sass@4.14.1 postinstall script,愛(ài)學(xué)習(xí)→NodeJS,npm,前端

?但是我抱著不服輸?shù)南敕ǎ瑢ode-sass模塊依賴給卸載,在重新安裝了一下,如下效果:

卸載命令:

npm uninstall node-sass

npm install時(shí)出現(xiàn)的問(wèn)題Failed at the node-sass@4.14.1 postinstall script,愛(ài)學(xué)習(xí)→NodeJS,npm,前端

npm install時(shí)出現(xiàn)的問(wèn)題Failed at the node-sass@4.14.1 postinstall script,愛(ài)學(xué)習(xí)→NodeJS,npm,前端

?執(zhí)行完第一個(gè)卸載命令發(fā)現(xiàn)還是報(bào)錯(cuò),緊接著又執(zhí)行了一個(gè)重新安裝命令;

重新安裝命令:

npm i node-sass@4.14.1 --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ --unsafe-perm

npm install時(shí)出現(xiàn)的問(wèn)題Failed at the node-sass@4.14.1 postinstall script,愛(ài)學(xué)習(xí)→NodeJS,npm,前端

?到此為止,已經(jīng)沒(méi)有發(fā)現(xiàn)有問(wèn)題了,可以正常的啟動(dòng)項(xiàng)目了。

npm install時(shí)出現(xiàn)的問(wèn)題Failed at the node-sass@4.14.1 postinstall script,愛(ài)學(xué)習(xí)→NodeJS,npm,前端

?

希望可以幫助到遇到此問(wèn)題的猿友們!??!


作者:筱白愛(ài)學(xué)習(xí)!!

歡迎關(guān)注轉(zhuǎn)發(fā)評(píng)論點(diǎn)贊溝通,您的支持是筱白的動(dòng)力!文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-628657.html

到了這里,關(guān)于npm install時(shí)出現(xiàn)的問(wèn)題Failed at the node-sass@4.14.1 postinstall script的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 解決npm install安裝node-sass包容易失敗的問(wèn)題

    解決npm install安裝node-sass包容易失敗的問(wèn)題

    ?具體問(wèn)題如下: 2、問(wèn)題分析 npm版本過(guò)高 3、問(wèn)題解決 npm install npm@6.14.10 -g 如果還提示出現(xiàn) python 的信息,說(shuō)明還需要安裝python,去python官網(wǎng)下載對(duì)應(yīng)版本的安裝包安裝即可,一般是2.7版本。python官網(wǎng)下載 如果提示 這些等亂七八糟的基本上就是node-sass 版本沖突問(wèn)題 直接去

    2024年04月13日
    瀏覽(98)
  • 解決npm install報(bào)錯(cuò) npm ERR! gyp ERR! cwd D:\Projec\xxx\node_modules\node-sass (node-sass版本問(wèn)題)

    解決npm install報(bào)錯(cuò) npm ERR! gyp ERR! cwd D:\Projec\xxx\node_modules\node-sass (node-sass版本問(wèn)題)

    vue項(xiàng)目換電腦后npm install發(fā)現(xiàn)一直報(bào)如下的錯(cuò)誤: node-sass版本不兼容,比較老。還出現(xiàn)找不到python路徑的錯(cuò)誤。node-sass 需要 node-gyp安裝時(shí)需要進(jìn)行轉(zhuǎn)譯所以可能會(huì)出現(xiàn)各種按安裝問(wèn)題。且node-sass 本身就已經(jīng)是deprecated狀態(tài)了。如果不是維護(hù)老項(xiàng)目不建議再使用 由于它只用于開(kāi)

    2024年02月09日
    瀏覽(28)
  • 解決python-opencv:(-215:Assertion failed) _img.empty() in function ‘cv::imwrite‘在將視頻分成幀圖片,寫(xiě)入時(shí)出現(xiàn)的問(wèn)題

    解決python-opencv:(-215:Assertion failed) _img.empty() in function ‘cv::imwrite‘在將視頻分成幀圖片,寫(xiě)入時(shí)出現(xiàn)的問(wèn)題

    最近在搞視頻檢測(cè)問(wèn)題,在用到將視頻分幀保存為圖片時(shí),圖片可以保存,但是會(huì)出現(xiàn)(-215:Assertion failed) !_img.empty() in function \\\'cv::imwrite\\\'問(wèn)題而不能正常運(yùn)行,在檢查代碼、檢查路徑等措施均無(wú)果后,了解了視頻分幀的原理后,才解決了問(wèn)題,就這一個(gè)問(wèn)題,解決了兩天才解決

    2024年02月15日
    瀏覽(20)
  • [vue3打包時(shí)出現(xiàn)的問(wèn)題]File ‘xxx‘ is a JavaScript file. Did you mean to enable the ‘a(chǎn)llowJs‘ option?

    [vue3打包時(shí)出現(xiàn)的問(wèn)題]File ‘xxx‘ is a JavaScript file. Did you mean to enable the ‘a(chǎn)llowJs‘ option?

    ?今天在打包vue3+ts的項(xiàng)目是遇到了一個(gè)錯(cuò)誤信息:is a JavaScript file. Did you mean to enable the \\\'allowJs\\\' option? (是一個(gè)javaScript文件。你是否要啟用‘a(chǎn)llowJs選項(xiàng)?’)錯(cuò)誤信息如下: 查了一下說(shuō)是由于我們的項(xiàng)目配置中缺少了‘a(chǎn)llowJs’選項(xiàng)導(dǎo)致的。當(dāng)我們?cè)谑褂肨ypeScript編輯器編譯項(xiàng)

    2024年03月23日
    瀏覽(25)
  • 安裝 elasticsearch-head 環(huán)境時(shí)報(bào)錯(cuò):Failed at the phantomjs-prebuilt@2.1.16 install script.

    安裝 elasticsearch-head 環(huán)境時(shí)報(bào)錯(cuò):Failed at the phantomjs-prebuilt@2.1.16 install script.

    執(zhí)行 npm install 報(bào)錯(cuò): –ignore-scripts參數(shù)用于npm install在安裝插件時(shí)忽略package.json中設(shè)置的腳本,意思就是避免package.json中的腳本影響插件的正常安裝 安裝成功!? 此時(shí)顯示elasticsearch未連接,需要修改一下elasticsearch的配置并重新啟動(dòng) 修改elasticsearch.yml文件,新增如下配置:

    2024年02月13日
    瀏覽(35)
  • Mysql8.0.16安裝時(shí)出現(xiàn)的Database initialization failed解決方法

    Mysql8.0.16安裝時(shí)出現(xiàn)的Database initialization failed解決方法

    開(kāi)發(fā)工具與關(guān)鍵技術(shù):?mysql 撰寫(xiě)時(shí)間:2022/9/28 首先說(shuō)明:筆者在安裝第一次的時(shí)候就出現(xiàn)以下問(wèn)題,拿虛擬機(jī)安裝的時(shí)候,同樣的步驟,安裝成功。主機(jī)使用zip安裝包安裝的時(shí)候也可以安裝,但會(huì)出現(xiàn)一個(gè)Can‘t connect to MySQL server on ‘localhost:3306‘ (10061)的bug,如果你也有這個(gè)

    2024年02月05日
    瀏覽(35)
  • 安裝SCCM時(shí)出現(xiàn)的問(wèn)題

    安裝SCCM時(shí)出現(xiàn)的問(wèn)題

    出現(xiàn)這個(gè)問(wèn)題 根據(jù)提示信息逐一排除以下問(wèn)題: 1、確保SQL服務(wù)器名稱是否正確。 2、確保TCP1433和4022端口有沒(méi)有被防火墻屏蔽。 3、站點(diǎn)服務(wù)器帳號(hào)加入SQLServer的sysadmin角色成員里。 4、確保SQL實(shí)例沒(méi)有使用動(dòng)態(tài)端口,可參考: Configure SQL Server to listen on a specific TCP port - SQL S

    2024年01月16日
    瀏覽(27)
  • npm install 報(bào)錯(cuò) ERR! gyp ERR! node-sass python

    一、問(wèn)題描述: npm install 報(bào)錯(cuò) ERR! gyp ERR! ERR! stack Error: Can\\\'t find Python executable \\\"python\\\", you can set the PYTHON env variable node -v v16 node-gyp -v v3.8.0 二、可能原因 1 nodejs與sass版本不匹配(可能性最大:解決辦法見(jiàn)三) node版本是16,sass版本是4.14。重裝的node ,就好了。其他兩個(gè)是調(diào)查時(shí)看到

    2024年02月03日
    瀏覽(101)
  • 使用git時(shí)出現(xiàn)的一些問(wèn)題整理

    使用git時(shí)出現(xiàn)的一些問(wèn)題整理

    目錄 一、解決fatal: detected dubious ownership in repository at \\\'D:/resource/git項(xiàng)目\\\' 二、解決error: failed to push some refs to \\\'https://gitee.com/yantianzi/roadlink\\\'hint: Updates were rejected because the remote contains work that you do 報(bào)錯(cuò) : 解決方法 :注意看紅框提示 只需要再輸入上面的命令即可, ?ok,解決。

    2024年02月15日
    瀏覽(22)
  • 執(zhí)行npm install時(shí)老是安裝不成功node-sass的原因和解決方案

    執(zhí)行npm install時(shí)老是安裝不成功node-sass的原因和解決方案

    相信你安裝前端項(xiàng)目所需要的依賴包(npm install 或 yarn install)時(shí),有可能會(huì)出現(xiàn)如下報(bào)錯(cuò): 那么到底是什么原因?qū)е逻@個(gè)問(wèn)題出現(xiàn)呢? 最多的原因還是 node的版本 和node-sass的版本不一致,比如node版本是 16+的,而你的版本還是舊的 “node-sass”: “^4.14.1”。因?yàn)閚ode并不會(huì)兼容

    2024年02月06日
    瀏覽(42)

覺(jué)得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包