初始化 Cloud 功能时出现以下错误:

npm WARN tar EINVAL:无效参数,futime npm WARN tar EINVAL:无效参数,futime npm WARN tar EINVAL:无效参数,futime npm ERR!路径D:\ CloudFunctions \ functions \ node_modules.staging \ grpc-e6192c1a \ node_modules \ osenv npm ERR!代码EPERM npm ERR! errno -4048 npm ERR!系统调用重命名npm ERR!错误:EPERM:不允许操作,重命名为'D:\ CloudFunctions \ functions \ node_modules.staging \ grpc-e6192c1a \ node_modules \ osenv' - >'D:\ CloudFunctions \ functions \ node_modules.staging \ osenv-bbc06f8a'npm ERR!在错误(本机)npm ERR! {错误:EPERM:不允许操作,重命名'D:\ CloudFunctions \ functions \ node_modules.staging \ grpc-e6192c1a \ node_modules \ osenv' - >'D:\ CloudFunctions \ functions \ node_modules.staging \ osenv-bbc06f8a'npm ERR !在错误(本机)npm ERR!原因:npm ERR! {错误:EPERM:不允许操作,重命名'D:\ CloudFunctions \ functions \ node_modules.staging \ grpc-e6192c1a \ node_modules \ osenv' - >'D:\ CloudFunctions \ functions \ node_modules.staging \ osenv-bbc06f8a'npm ERR !在错误(本机)npm ERR!错误:-4048,npm ERR!代码:'EPERM',npm ERR!系统调用:'重命名',npm ERR!路径:'D:\ CloudFunctions \ functions \ node_modules \ .staging \ grpc-e6192c1a \ node_modules \ osenv',npm ERR! dest:'D:\ CloudFunctions \ functions \ node_modules \ .staging \ osenv-bbc06f8a'},npm ERR! stack:'错误:EPERM:不允许操作,重命名'D:\ CloudFunctions \ functions \ node_modules \ .staging \ grpc-e6192c1a \ node_modules \ osenv ' - > 'D:\ CloudFunctions \ functions \ node_modules \ .staging \ osenv-bbc06f8a '\ n at Error(native)',npm ERR!错误:-4048,npm ERR!代码:'EPERM',npm ERR!系统调用:'重命名',npm ERR!路径:'D:\ CloudFunctions \ functions \ node_modules \ .staging \ grpc-e6192c1a \ node_modules \ osenv',npm ERR! dest:'D:\ CloudFunctions \ functions \ node_modules \ .staging \ osenv-bbc06f8a',npm ERR! parent:'functions'} npm ERR!错误的ERR!您的操作系统拒绝了该操作 . 错误的ERR!该文件可能已被使用(通过文本编辑器或防病毒软件),npm ERR!或者您没有权限访问它 . 错误的ERR!错误的ERR!如果您认为这可能是权限问题,请仔细检查npm ERR!文件及其包含目录的权限,或尝试运行npm ERR!该命令再次以root / Administrator(尽管不建议这样做) .