pinecone-io / sample-apps

15 stars 7 forks source link

Fix local install #5

Closed zackproser closed 2 months ago

zackproser commented 2 months ago

Problem

When installed locally through the npx command, there are currently two errors blocking forward progress:

  1. The npm install command fails due to outdated link syntax
  2. The bootstrap API call CAN fail if you're not running on exactly port 3000

Solution

  1. Update package.json link syntax
  2. Dynamically read the port the app is running on from the environment

Type of Change

Test Plan

Describe specific steps for validating this change.

zackproser commented 2 months ago

Thanks for reviewing!