question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incomplete and unclear documentation on how to get rid of target: serverless on next config js

See original GitHub issue

What version of Next.js are you using?

12.0.2

What version of Node.js are you using?

14.17.6

What browser are you using?

Chrome

What operating system are you using?

MacOs

How are you deploying your application?

Serverless

Describe the Bug

Hello, I updated to next js v12 today, and after reading the breaking changes in the blog I saw that the option target: serverless on the next.config.js file is going to be deprecated in a future version. (In the blog is written as a breaking change, as if it will make the app not work from this recently released version, which doesn’t seem to be the case). There is a link to explain how to “possibly” solve it, but the documentation is extremely poor. It generates us more questions than answers. I open this issue as a bug, because to have good documentation should be part of such a major release.

Expected Behavior

It would be really nice to have a more extended and detailed documentation, including code samples. Having a guide for specific for when using Serverless would be amazing.

To Reproduce

Visit https://nextjs.org/docs/advanced-features/output-file-tracing

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:12
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ijjkcommented, Nov 8, 2021

Hi, there is an active PR here which expands the tooling around leveraging these traces and expanded documentation/examples will follow as well.

1reaction
benhorstcommented, Dec 7, 2021

Thanks, @ijjk! I’ve posted the PR and new docs for my team to take a look at. We’ll follow up if we have additional questions. Appreciate your work on this 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inputs - Serverless Nextjs
Name Type Default Value domain Array null bucketName string null bucketRegion string us‑east‑1
Read more >
Command line interface — Snakemake 7.19.1 documentation
This part of the documentation describes the snakemake executable. ... Do not remove incomplete output files by failed jobs. Default: False. --drop-metadata.
Read more >
How to properly implement serverless SSR with Next.js ...
I set up a basic hello world app (here) to test it out. Copy-pasted the output of .next/serverless/pages/index.js to a Google Cloud Function...
Read more >
Serverless Nextjs Plugin
Please go to Releases, find the correct @sls-next/serverless-component version you are using, and open the README for that release for more accurate information ......
Read more >
Kogito Documentation - Red Hat on GitHub
OpenShift, based on Kubernetes, is the target platform for building and ... In case some ports need to be changed, you can find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found