-
## Describe the bug
On completely static pages it builds and loads but you can see the error happen in the background on Vercel logs. To note I am using a mono repo structure. I would expect the se…
-
# Bug report
## Describe the bug
I'm running into some problems with dynamic routes. When running `next start` everything is working fine, however after `next export` my dynamic routes are only …
-
# Bug report
## Describe the bug
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client when using `getStaticProps`. See component below:
```typescript
const Profile…
-
### Question 💬
How do you get the session to Apollo client when using `getStaticPaths` or `getStaticProps`. On `getServerSideProps` you can pass the context when creating a new apollo client but th…
-
### What version of Next.js are you using?
12.0.1
### What version of Node.js are you using?
16.13.0
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### H…
-
# Bug report
## Describe the bug
In the following page called `pages/a/[slug]/index.js`
```javascript
export async function getStaticPaths() {
return {
paths: [{ params: { slug: 'Syn…
-
# Feature request
Given that Next.js is investing efforts into static generation with the likes of `getStaticProps` and `getStaticPaths`, it would be great to leverage the full power of MDX without…
-
# Bug report
## Describe the bug
It looks like that the first element provided to `getStaticProps` is empty while using i18n and `getStaticPaths`:
```Javascript
export const getStaticPaths =…
-
I'm still getting error from **getStaticProps**
> Type '(context: GetStaticPropsContext) => Promise' is not assignable
to type 'GetStaticProps'.
Type 'Promise' is not assignable to type 'GetS…
-
# Feature request
NextJS currently exports the `GetStaticPropsResult` and `GetStaticPropsContext` types which helps us to type our module boundaries like so:
```ts
import { GetStaticPropsConte…