Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help me. #432

Open
robertolabarca opened this issue Nov 7, 2016 · 1 comment
Open

help me. #432

robertolabarca opened this issue Nov 7, 2016 · 1 comment

Comments

@robertolabarca
Copy link

===============================================================================================
config.yaml

===============================================================================================

storage: ./storage

auth:
  htpasswd:
    file: ./htpasswd
  
uplinks:
  npmjs:
    url: https://nexus-3/repository/npm-mirror

packages:
  '@*/*':
  
    access: $all
    publish: $all

  '*':
      access: $all
      publish: $all

      proxy: npmjs


logs:
  - {type: stdout, format: pretty, level: http}

================================================================================
npm config

cache-min = 99999999
registry = "http://127.0.0.1:4873/"
strict-ssl = false

==============================================================================
NOW

mkdir temp
cd tmp
npm init
npm install jquery -g

THEN
D:\npm\npmlazy>sinopia
warn --- config file - C:\Users\roberto\AppData\Roaming\sinopia\config.yaml
warn --- http address - http://localhost:4873/
http --> ERR, req: 'GET https://nexus-3/repository/npm-mirror/jquery', error: self signed certificate
http <-- 404, user: undefined, req: 'GET /jquery', error: no such package available

@lengziyu
Copy link

lengziyu commented Nov 8, 2016

I see your user: undefined,You can try :

$ npm set registry http://127.0.0.1:4873
$ npm adduser --registry http://127.0.0.1:4873

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants