The locally built verdaccio was released successfully, but the private package was not downloaded to the corresponding directory when the npm install was executed.

the verdaccio I built locally is used to test the private package. Npm publish is successful, but there is a warning in npm install, but the message is that the package was downloaded successfully, but there are no package files to download in the current directory.

< H2 > npm publish < / H2 >

clipboard.png

npm install

clipboard.png

npm install

clipboard.png

< H2 > profile config.yaml < / H2 >
storage: ./storage
plugins: ./plugins

web:
  title: Verdaccio

auth:
  htpasswd:
    file: ./htpasswd

uplinks:
  cnpmjs:
    url: https://registry.npm.taobao.org/

packages:
  "@*/*":
    -sharp scoped packages
    access: $all
    publish: $authenticated
    proxy: cnpmjs

  "**":
    access: $all

    publish: $authenticated

    proxy: cnpmjs

middlewares:
  audit:
    enabled: true

logs:
  - {type: stdout, format: pretty, level: http}
May.24,2022

I don't know if the landlord has solved it. I have encountered a similar problem here. Various errors were reported during the staing phase of generating cache

.
Menu