Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Error! Invalid JSON" when using GH Actions. #702

Open
HillReywer opened this issue Aug 24, 2022 · 2 comments
Open

Getting "Error! Invalid JSON" when using GH Actions. #702

HillReywer opened this issue Aug 24, 2022 · 2 comments

Comments

@HillReywer
Copy link

Hello,

Can you tell me what may be the problem, trying to run a site using vercel and Nuxt, I added Vercel.json to the root of the repository and I get the following error when I run the action.

I took the json from the sample on the site.

Vercel CLI 28.1.3
Retrieving project…
Deploying hillreywer/*** 
Error! Invalid JSON
Error: Process completed with exit code 1.
{
  "version": 2,
  "builds": [
    {
      "src": "nuxt.config.js",
      "use": "@nuxtjs/vercel-builder"
    }
  ]
}
@danielroe
Copy link
Member

Are you sure that's the content of the file? No stray comma? How about your tsconfig.json?

@HillReywer
Copy link
Author

Yes, I've tried it in several ways.

Hmm, we don't have tsconfig.json in the project.

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

No branches or pull requests

2 participants