Open robertolabarca opened 7 years ago
=============================================================================================== 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}
cache-min = 99999999 registry = "http://127.0.0.1:4873/" strict-ssl = false
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
I see your user: undefined,You can try :
user: undefined
$ npm set registry http://127.0.0.1:4873 $ npm adduser --registry http://127.0.0.1:4873
=============================================================================================== config.yaml
===============================================================================================
================================================================================ npm config
============================================================================== NOW
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