FetchError:Request to https://registry.npmjs.org/*** failed. #4286
-
Your Environment
Describe the bug My server has been set to prohibit access https://registry.npmjs.org/ However, when I download the NPM package through verdaccio, there are still requests to download it from this website. Why is this happening? I hope to download dependency from https://registry.npmmirror.com/ , what should I do? To Reproduce Expected behavior Screenshots, server logs, package manager log Configuration File (cat ~/.config/verdaccio/config.yaml) storage: ./storage
plugins: ./plugins
web:
title: Verdaccio
auth:
htpasswd:
file: ./htpasswd
max_users: 1000
uplinks:
npmjs:
url: https://registry.npmmirror.com/
packages:
'@*/*':
# scoped packages
access: $all
publish: $authenticated
unpublish: $authenticated
proxy: npmjs
'**':
access: $all
publish: $authenticated
unpublish: $authenticated
proxy: npmjs
server:
keepAliveTimeout: 60
# VERDACCIO_PUBLIC_URL: 'localhost:1000'
# url_prefix: '/npm/'
listen:
0.0.0.0:54209
middlewares:
audit:
enabled: true
log: { type: stdout, format: pretty, level: http }
i18n:
web: zh-CN
Environment information Debugging output
Contribute to Verdaccio
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You have the audit plugin enabled if you don't want that just remove it from your configuration |
Beta Was this translation helpful? Give feedback.
You have the audit plugin enabled if you don't want that just remove it from your configuration