npm, Yarn, and pnpm.
By default, the Vega Software Development Kit (SDK) works with npm. Therefore, this page only provides configuration instructions for Yarn and pnpm package managers.
Yarn
Step 1. Install Yarn, version 3.8.1 or later. For installation instructions, see Yarn installation documentation. Step 2. To usenpm-run-all with Yarn, use the NPM_EXECPATH to set the path to Yarn.
Step 3. Set this environment variable in your .bashrc or .zshrc file:
pnpm
Step 1. Install pnpm, version 9.x or later. For installation instructions, see pnpm installation documentation. Step 2. Remove any existingyarn.lock or package-lock.json file.
pnpm to install dependencies and build.
Enable React Native bundling with pnpm
To enable React Native bundling with PNPM, update your app’smetro.config.js file and set the unstable_enableSymlinks property like this:

