Skip to content

fix: move marketplace-sources.json to public directory for Vercel deployment#13

Merged
amondnet merged 1 commit into
mainfrom
fix/move-marketplace-sources-to-public
Oct 15, 2025
Merged

fix: move marketplace-sources.json to public directory for Vercel deployment#13
amondnet merged 1 commit into
mainfrom
fix/move-marketplace-sources-to-public

Conversation

@amondnet

Copy link
Copy Markdown
Contributor

Summary

  • Move marketplace-sources.json from root to public/ directory
  • Update API path in server/api/marketplaces.get.ts to read from public/ directory

Problem

Vercel deployment was failing with ENOENT: no such file or directory, open '/var/task/marketplace-sources.json' because the file wasn't included in the serverless build output.

Solution

Nuxt automatically includes files from the public/ directory in the build output. By moving the configuration file there and updating the API to read from public/marketplace-sources.json, the file will be available at runtime in Vercel's serverless environment.

Test plan

  • Verify file exists in public/ directory
  • Update API path to use public/marketplace-sources.json
  • Deploy to Vercel and verify API endpoint works

…loyment

Move marketplace-sources.json from root to public/ directory to ensure
it's included in Vercel's serverless deployment output. Update API path
to read from public/ directory at runtime.
@vercel

vercel Bot commented Oct 15, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
claude-code-plugins Ready Ready Preview Comment Oct 15, 2025 8:05pm

@amondnet amondnet merged commit da7a27d into main Oct 15, 2025
4 of 5 checks passed
@pleaseai pleaseai Bot mentioned this pull request Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant