日日操夜夜添-日日操影院-日日草夜夜操-日日干干-精品一区二区三区波多野结衣-精品一区二区三区高清免费不卡

公告:魔扣目錄網(wǎng)為廣大站長(zhǎng)提供免費(fèi)收錄網(wǎng)站服務(wù),提交前請(qǐng)做好本站友鏈:【 網(wǎng)站目錄:http://www.ylptlb.cn 】, 免友鏈快審服務(wù)(50元/站),

點(diǎn)擊這里在線(xiàn)咨詢(xún)客服
新站提交
  • 網(wǎng)站:51998
  • 待審:31
  • 小程序:12
  • 文章:1030137
  • 會(huì)員:747

這篇文章主要介紹了goland中npm無(wú)法使用的問(wèn)題及解決方案,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教

goland中npm無(wú)法使用

明明已經(jīng)成功安裝且配置了環(huán)境到windows上,而且goland上的配置也絲毫無(wú)錯(cuò),但是就是不能使用npm,讓人苦惱,如果你也遇到了這樣的問(wèn)題,希望這篇文章可以幫到你。

出現(xiàn)的錯(cuò)誤代碼是這樣的

PS C:UsersLenovoGolandProjectsshop_client1> npm install
npm WARN logfile could not be created: Error: EPERM: operation not permitted, open 'D:AAAnodejsnode_cache_logs2022-04-19T11_00_18_499Z-debug-0.log'
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path D:AAAnodejsnode_cache_cacacheindex-v57bbf
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'D:AAAnodejsnode_cache_cacacheindex-v57bbf'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'D:AAAnodejsnode_cache_cacacheindex-v57bbf'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'D:\AAA\nodejs\node_cache\_cacache\index-v5\7b\bf'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! Log files were not written due to an error writing to the directory: D:AAAnodejsnode_cache_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal

.npmrc文件,就是npm的配置文件所在位置。

當(dāng)然,尋找這個(gè)文件的目的,多數(shù)是為了修改.npmrc文件內(nèi)容。

但npm提供了方便快捷的修改方式,不知道這個(gè)文件的位置,其實(shí)也是可以修改的。

于是,配置之間就產(chǎn)生了沖突,找到他刪掉它就可以了

默認(rèn)位置是在 C:UsersLenovo 它是隱藏的


 

之后就可以繼續(xù)我們的項(xiàng)目了,拜拜

logfile could not be created: Error: EPERM: operation not permitted, open 'D:AAAnodejsnode_cache_logs2022-04-19T11_02_14_336Z-debug-0.log'
[..................] | : WARN logfile could not be created: Error: EPERM: operation not permitted, open 'D:AAAnode
> [email protected] dev
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

npm ERR!無(wú)法安裝任何包的解決

npm config set proxy false
npm cache clean

 

  • 原文來(lái)自:https://www.jb51.NET/article/271037.htm
  • 本文地址:https://www.linuxprobe.com/goland-npm-linux.html編輯:倪家興,審核員:逄增寶
  • Linux命令大全:https://www.linuxcool.com/
  • Linux系統(tǒng)大全:https://www.linuxdown.com/
  • 紅帽認(rèn)證RHCE考試心得:https://www.rhce.net/

分享到:
標(biāo)簽:goland
用戶(hù)無(wú)頭像

網(wǎng)友整理

注冊(cè)時(shí)間:

網(wǎng)站:5 個(gè)   小程序:0 個(gè)  文章:12 篇

  • 51998

    網(wǎng)站

  • 12

    小程序

  • 1030137

    文章

  • 747

    會(huì)員

趕快注冊(cè)賬號(hào),推廣您的網(wǎng)站吧!
最新入駐小程序

數(shù)獨(dú)大挑戰(zhàn)2018-06-03

數(shù)獨(dú)一種數(shù)學(xué)游戲,玩家需要根據(jù)9

答題星2018-06-03

您可以通過(guò)答題星輕松地創(chuàng)建試卷

全階人生考試2018-06-03

各種考試題,題庫(kù),初中,高中,大學(xué)四六

運(yùn)動(dòng)步數(shù)有氧達(dá)人2018-06-03

記錄運(yùn)動(dòng)步數(shù),積累氧氣值。還可偷

每日養(yǎng)生app2018-06-03

每日養(yǎng)生,天天健康

體育訓(xùn)練成績(jī)?cè)u(píng)定2018-06-03

通用課目體育訓(xùn)練成績(jī)?cè)u(píng)定