npm不是以管理身份运行遇到的问题

文章描述:-2022年3月28日发(作者:郗祥麒)npm不是以管理⾝份运⾏遇到的问题环境:win10+npm3.10.5问题:在npm install lodash时,出现下列错误(⽂件内容)0 info it worked if it ends with ok1 verbose cli [ 'C:Program Filesnodejs',1 verbose cli 'C:Program Filesnode

-

npm不是以管理身份运行遇到的问题2022年3月28日发(作者:郗祥麒)


npm不是以管理⾝份运⾏遇到的问题
环境:win10+npm3.10.5
问题:在npm install lodash时,出现下列错误(⽂件内容)
0 info it worked if it ends with ok
1 verbose cli [ 'C:Program Filesnodejs',
1 verbose cli 'C:Program Filesnodejsnode_modulesnpmbin',
1 verbose cli 'start' ]
2 info using npm@3.10.5
3 info using node@v4.4.7
4 verbose stack Error: EOET: no such file or directory, open 'C:Program Filesnodejs'
4 verbose stack at Error (native)
5 verbose cwd C:Program Filesnodejs
6 error Windows_T 10.0.10586
7 error ar
8 error node v4.4.7
9 error npm v3.10.5
10 error path C:Program Filesnodejs
11 error code EOET
12 error errno -4058
13 error syscall open
14 error enoent EOET: no such file or directory, open 'C:Program Filesnodejs'
15 error enoent EOET: no such file or directory, open 'C:Program Filesnodejs'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -4058, true ]
解决:以管理员⾝份运⾏就可以⼯作了


npm不是以管理⾝份运⾏遇到的问题
环境:win10+npm3.10.5
问题:在npm install lodash时,出现下列错误(⽂件内容)
0 info it worked if it ends with ok
1 verbose cli [ 'C:Program Filesnodejs',
1 verbose cli 'C:Program Filesnodejsnode_modulesnpmbin',
1 verbose cli 'start' ]
2 info using npm@3.10.5
3 info using node@v4.4.7
4 verbose stack Error: EOET: no such file or directory, open 'C:Program Filesnodejs'
4 verbose stack at Error (native)
5 verbose cwd C:Program Filesnodejs
6 error Windows_T 10.0.10586
7 error ar
8 error node v4.4.7
9 error npm v3.10.5
10 error path C:Program Filesnodejs
11 error code EOET
12 error errno -4058
13 error syscall open
14 error enoent EOET: no such file or directory, open 'C:Program Filesnodejs'
15 error enoent EOET: no such file or directory, open 'C:Program Filesnodejs'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -4058, true ]
解决:以管理员⾝份运⾏就可以⼯作了

-

npm不是以管理身份运行遇到的问题

发布时间:2022-03-28 19:23:24
文章版权声明:除非注明,否则均为IT技术网-学习WEB前端开发等IT技术的网络平台原创文章,转载或复制请以超链接形式并注明出处。

发表评论

评论列表 (有 12 条评论,988人围观)
衡阳租房V铁粉25 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
1 verbose cli 'start' ]2 info using npm@3.10.53 info using node@v4.4.74 verbose stack Error
因为V铁粉10 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
open 'C
北京长城网V铁粉22 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
1 verbose cli 'start' ]2 info using npm@3.10.53 info using node@v4.4.74 verbose stack Error
啾咪V铁粉3 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
no such file or directory
建筑寿命V铁粉0 second ago Google Chrome 93.0.4577.82 Windows 10 x64
Program Filesnodejs'4 verbose stack at Error (native)5 verbose cwd C
网站建设素材V铁粉25 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
Program Filesnodejs'
鬼叫的声音V铁粉1 minute ago Google Chrome 93.0.4577.82 Windows 10 x64
Program Filesnodejs'15 error enoent This is most likely not a problem with npm itself15 error enoent and is related to npm not being able to find a file.16 verbose exit [ -4058
沧口公园二手房V铁粉15 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
open 'C
上海王朝大酒店V铁粉29 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
no such file or directory
王日升V铁粉21 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
EOET
我是个大盗贼V铁粉22 minutes ago Google Chrome 93.0.4577.82 Windows 10 x64
win10+npm3.10.5问题

最近发表

随便看看

热门文章

标签列表