報錯 Error: The hvigor depends on the npmrc file. Configure the npmrc file first.
解決辦法:
touch ~/.npmrc
vim ~/.npmrc
寫入如下內(nèi)容
registry=https://repo.huaweicloud.com/repository/npm/
@ohos:registry=https://repo.harmonyos.com/npm/
報錯 Error: The hvigor depends on the npmrc file. Configure the npmrc file first.
解決辦法:
touch ~/.npmrc
vim ~/.npmrc
registry=https://repo.huaweicloud.com/repository/npm/
@ohos:registry=https://repo.harmonyos.com/npm/