-
Notifications
You must be signed in to change notification settings - Fork 34
Description
**Bug **
I am using Dojo on a completely offline machine. It has a network, but the network is a private network with no internet, which had not and never will have any internet.
I "installed" dojo on an on-line machine, locally, then tarred up the archive and moved via USB key to the offline one. I can successfully create build and serve applications.
The problem is, when running at least the following commands:
dojo (no arguments)
dojo create app
dojo build --watch --serve
i always get a lag (a few seconds) and the following error message:
"There was an error searching npm: request to https://registry.npmjs.org/-/v1/search?text= failed, reason: getaddrinfo ENOTFOUND registry.npmjs.org:443"
The error (sorry for typos, i copied by hand) is clearly because the pc is offline and the name cannot be resolved. But it's annoying because it add a few seconds delay each time.
Can this behaviour be eliinated or disabled in some way?
Environment is Linux, offline pc is CentOS 7.
Package Version: Dojo/cli@5.0.0 Dojo/cli-build-app@5.0.4 nodejs-10.15.3
Code
Expected behavior:
Actual behavior: