OpenHarmony开发者论坛

标题: Ubuntu Flutter OH 应用开发环境 build hap 报错 [打印本页]

作者: zhifeng    时间: 2023-11-18 11:14
标题: Ubuntu Flutter OH 应用开发环境 build hap 报错
Error: The hvigor depends on the npmrc file. Configure the npmrc file first.
作者: westinyang    时间: 2023-11-18 12:16
[md]```
touch ~/.npmrc
vim ~/.npmrc
# 写入如下内容
registry=https://registry.npmjs.org
@ohos:registry=https://repo.harmonyos.com/npm/
```

[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5