Hacksore / pnpm-license-test

Home Page:https://pnpm-license-test.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turbo + pnpm + vercel

This app uses pnpm to generate license info from the apps/app application to a json file. The astro app (apps/web) will import the json file and render it.

Vercel build properties

image

Root cause

We've seen that you have to explicit set the output dir to .vercel/output/static to make this work

Error I've seen before

If i push a commit vercel will error with this 😧

{
  "code": "ERR_PNPM_MISSING_PACKAGE_INDEX_FILE",
  "message": "Failed to find package index file for express@4.19.2, please consider running 'pnpm install'"
}

Open vercel issue

TODO: make one here https://github.com/vercel/vercel/blob/fd069f184d94a41cfcc427e8249418e122a4bf71/packages/frameworks/src/frameworks.ts#L274

About

https://pnpm-license-test.vercel.app


Languages

Language:JavaScript 55.0%Language:TypeScript 34.1%Language:Astro 7.4%Language:Handlebars 3.4%