我按照一个博主的方法进行了nodejs的安装以及配置,过程很详细,以下是博主的链接。
win10安装nodejs以及配置
在最后进行安装express时出现了报错,以下是记录:
C: \Users \Lenovo>npm install express -g
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path D: \web_ tool \node js \node_ cache\ cacache
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir D: \web_ tool \node js \node_ cache _ cacache'
npm ERR!
LError: EPERM: operation not permitted, mkdir D: web_ tool \node js \node_ cache\ cacache 」t
npm ERR
errno:, -4048,
npm ERR
code:
EPERM’
npm ERR
syscall:’ mkdir'
npm ERR !
path:’D: \web_ tool \ \node js \ \node_ cache\_ cacache' ,
npm ERR
requiredBy :
npm ERR!
npm ERR !
npm ERR! The operation was re jected by
your operating system.
npm ERR! It’ s possible that the file was already in use (by a text editor or antivirus),
npm