diff --git a/package-lock.json b/package-lock.json index c566ccc..6b7a26e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,9 @@ "react": "18.2.0", "react-dom": "18.2.0", "typescript": "4.9.3" + }, + "devDependencies": { + "prettier": "^3.5.2" } }, "node_modules/@babel/runtime": { @@ -4005,6 +4008,21 @@ "node": "^10 || ^12 || >=14" } }, + "node_modules/prettier": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", + "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==", + "dev": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/property-information": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", diff --git a/pages/aws/common_issues.mdx b/pages/aws/common_issues.mdx index 0cf33cb..a2f51db 100644 --- a/pages/aws/common_issues.mdx +++ b/pages/aws/common_issues.mdx @@ -112,3 +112,9 @@ This error is usually resolved by removing all yarn files in your repo. You shou If you use `yarn` there is a workaround [here](https://stackoverflow.com/a/76902985https://stackoverflow.com/a/76902985). If you are not using `yarn` and you see `yarn` related errors it might be solved by running `corepack disable` or updating `nvm` to `0.40.2`. + +#### `SyntaxError: Unexpected end of JSON input at JSON.parse ()` error + +This error will occur when the server function is called with a Server Action request without a body. + +Make sure that the body is correctly forwarded to the server function. \ No newline at end of file