Verdaccio: How configure verdaccio offline?

Created on 21 May 2017  路  4Comments  路  Source: verdaccio/verdaccio

I have a Web development in my office, all the developer has a network blocked to access directly to the NPM registry and get packages (Security Policy).

I have the alternative to get the package from a computer with Internet and then pass through a file scanner, check it the files, and finally copy to the project. I did a partial solution using npmbox but is difficult to support the frequently updates and did not get the devDependencies

I tried verdaccio to proxy the NPM registry, get the npm modules to the project, and then disconnect the computer from internet (to simulate no internet enviroment)

but verdaccio always check the registry in http:\registry.npmjs.org.

There is a way to use only the cache modules? (without connect to registry.npmjs.org)?

outdated question

Most helpful comment

Works great!

Thanks

All 4 comments

Have you tried to comment out proxy: npmjs to disable the uplinks in your config file?

Works great!

Thanks

Appreciated!

Thanks

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

roddy-toomim-sp picture roddy-toomim-sp  路  4Comments

buschtoens picture buschtoens  路  4Comments

liujingbreak picture liujingbreak  路  3Comments

juanpicado picture juanpicado  路  3Comments

kenske picture kenske  路  4Comments