npminstall-gioniccordova这是我写的命令,下面这是报错npmERR!pathC:ProgramFilesnodejsnode_modules.stagingnpmERR!codeEPERMnpmERR!errno-4048npmERR!syscallmkdirnpmERR!Error:EPERM:operationnotpermitted,mkdir'C:ProgramFilesnodejsnode_modules.staging'npmERR!atError(native)npmERR!{Error:EPERM:operationnotpermitted,mkdir'C:ProgramFilesnodejsnode_modules.staging'npmERR!atError(native)npmERR!cause:npmERR!{Error:EPERM:operationnotpermitted,mkdir'C:ProgramFilesnodejsnode_modules.staging'npmERR!atError(native)npmERR!errno:-4048,npmERR!code:'EPERM',npmERR!syscall:'mkdir',npmERR!path:'C:\ProgramFiles\nodejs\node_modules\.staging'},npmERR!stack:'Error:EPERM:operationnotpermitted,mkdir'C:\ProgramFiles\nodejs\node_modules\.staging'natError(native)',npmERR!errno:-4048,npmERR!code:'EPERM',npmERR!syscall:'mkdir',npmERR!path:'C:\ProgramFiles\nodejs\node_modules\.staging',npmERR!parent:'ionic'}npmERR!npmERR!Pleasetryrunningthiscommandagainasroot/Administrator.npmERR!Acompletelogofthisruncanbefoundin:npmERR!C:UsersAdministratorAppDataRoamingnpm-cache_logs2018-02-03T00_32_08_968Z-debug.log
添加回答
举报
0/150
提交
取消