远程包构建问题 The hvigor depends on the npmrc file. Configure the npmrc file first.

流水线环境 远程包构建报错

远程包构建问题 The hvigor depends on the npmrc file. Configure the npmrc file first. -鸿蒙开发者社区

报错信息:The hvigor depends on the npmrc file. Configure the npmrc file first.

但是远程环境中已经配置了npmrc,请问这到底是啥问题?

HarmonyOS
2024-12-10 13:46:15
792浏览
收藏 0
回答 1
回答 1
按赞同
/
按时间
Heiang

报错的.npmrc文件需要配置在用户目录下,并且当前目录的权限需要可访问

分享
微博
QQ
微信
回复
2024-12-10 15:46:11


相关问题
HarmonyOS Hvigor 编译构建
1083浏览 • 1回复 待解决
编译构建报错,提示CONFIGURE_SDK_ERROR
1644浏览 • 1回复 待解决
open_file插件适配HarmonyOS需求
929浏览 • 1回复 待解决
DevEco编译报错:Invalid JavaScript file path
4706浏览 • 0回复 待解决
HarmonyOS webview无法加载file协议路径
646浏览 • 1回复 待解决
fs.mkdirSync报错:No such file or directory
3163浏览 • 1回复 待解决
file api清理缓存目录
1401浏览 • 1回复 待解决
Certpath File(*.cer) 从哪里获取?
8531浏览 • 1回复 待解决
hvigor构建过程是否有详细日志
1839浏览 • 1回复 待解决
HarmonyOS 下载报错Download File Path Valid
1974浏览 • 1回复 待解决
Could not find a file named "pubspec.yaml"
1048浏览 • 1回复 待解决
grep tar.gz file without unzipping
3733浏览 • 0回复 待解决