This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Error! Can't parse json file #39737
Labels
bug
Issue was opened via the bug report template.
please add a complete reproduction
The issue lacks information for further investigation
Verify canary release
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000
Binaries:
Node: 16.13.2
npm: 8.15.1
Yarn: 3.2.1
pnpm: N/A
Relevant packages:
next: 12.2.4
eslint-config-next: N/A
react: 17.0.2
react-dom: 17.0.2
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Vercel
Describe the Bug
I keep getting error once trying to build project with Vercel. It builds fine locally. Is there something i am overlooking? Only json file I have in repo is package.json
Running "vercel build"
15:22:31.883 | Vercel CLI 28.0.1
15:22:31.976 | Error! Can't parse json file
Expected Behavior
Congratulations built with success! ;)
Link to reproduction
see json file contents below
To Reproduce
{
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"axios": "^0.27.2",
"express": "^4.18.1",
"googleapis": "^105.0.0",
"next": "latest",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-player": "^2.10.1",
"redux": "^4.2.0",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^2.1.3"
}
}
The text was updated successfully, but these errors were encountered: