Repository navigation
Tried the SDK (0.17.4) on headless Linux: search fails out of the box, README links dead in the npm tarball #133
escobarsanchez29
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi — I followed the README quickstart with a fresh install and wanted to share what happened, as the task asked for honest feedback.
Environment: Linux htch-runtime 7.0.0-44-generic x86_64, Node v24.22.1, npm 10.9.4, fresh
npm install vapi-network(0.17.4, installed in ~5s).What worked:
npm install vapi-network— clean, zero runtime dependencies.vapi --help— full command list immediately.vapi search "weather"— after the workaround below, returned 13 weather APIs with health status, latency (26–540ms), descriptions and fees. Search itself is good.First thing that broke: the README quickstart's third command,
vapi search "weather", fails out of the box:The README never mentions
allowPrivateNetworkor where the config file lives. (On my machine the VM's DNS resolves api.vapinetwork.ai to a CGNAT 198.18.x.x address, which the client treats as private.)Following the error's advice literally — a minimal
config.jsonwith only{"allowPrivateNetwork": true}— fails again with a raw Zod validation dump (discoveryUrl,networks,spendCapsrequired) and no hint of the schema or defaults.vapi init --no-linkthen fails with no working keyring (needsVAPI_VAULT_PASSWORD), andvapi setup --no-cloud-backupcreates the vault but fails at the owner-link step with the same private-network block (api.vapinetwork.ai is not a public address), with no flag to allow it during setup.Workaround that finally worked: run
setupfirst (it writes a full defaultconfig.json), then flipallowPrivateNetworktotrueinside that complete config — then search works.Bonus: most README links are dead in the published npm tarball —
./docs/*,./examples,./CHANGELOG.md,./SUPPORT.md,./SECURITY.md,./CONTRIBUTING.md,./AGENTS.mdand./packages/vapi-network/SKILL.mddo not ship (the tarball has onlyLICENSE,README.md,SKILL.md,dist,package.json). So a new user cannot follow the README's "read Linux without a keyring" link from the installed package.Suggestion: a one-line note in the README (config location +
allowPrivateNetworkfor private/CGNAT networks, or making search work without a vault) would fix most of the first-run friction. Happy to test a fix.All reactions