Skip to content

[Error: [npm-probe] failed to updated feed]: the Server can only start if it has full Internet access #42

@marcellodesales

Description

@marcellodesales

Hey guys,

First of all it I love the UI from the website... That's why I've been trying to install an instance of this locally in the hopes that I can let internal NPM users view their private NPM modules deployed to a local NPM server...

Anyway, the pre-prod environment I have does NOT have Internet connection. My hope was that the app would be downloading modules information from the cached version of the NPM modules running on my local Private registry (NPM + Kappa). However, the app server does not load and the only thing listed is the following:

[Error: [npm-probe] failed to updated feed]
[Error: [npm-probe] failed to updated feed]
...
...

I could successfully run this on a local environment using my forked version of the app...

$ sudo docker run -t -i -p 8081:8081 --link npm-registry:couchdb --link redis:redis --link npm-registry:private_npm marcellodesales/browse-npm
Unable to find image 'marcellodesales/browse-npm' locally
Pulling repository marcellodesales/browse-npm
2098840229cf: Pulling dependent layers 
511136ea3c5a: Download complete 
2098840229cf: Download complete 
...
...
Browsenpm.org is now running on http://localhost:8081

Shouldn't the app be able to be bootstrapped without depending on Internet connection? That way, maybe the UI could display some warning messages like "Hey, can't access Nodejitsu, npm.org, etc" when the server does not have Internet access...

Anyway, thanks for making this available!

Marcello

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions