You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should never be done. It uses SyntaxContext::default() for the Ident. So from swc's perspective, you are referring to a different variable than you think. When constructing an Ident, you should usually always provide a SyntaxContext.
I think this would pose a problem in Webpack because it serializes it into a code string again, but for Turbopack these SyntaxContext are important.
after() in static pages > runs after during build (DD)
Expand output
● after() in static pages › runs after during build
can not run export while server is running, use next.stop() first
251 | ) {
252 | if (this.childProcess) {
> 253 | throw new Error(
| ^
254 | `can not run export while server is running, use next.stop() first`
255 | )
256 | }
at NextStartInstance.build (lib/next-modes/next-start.ts:253:13)
at Object.build (e2e/app-dir/next-after-app-static/build-time/build-time.test.ts:36:36)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
should never be done. It uses
SyntaxContext::default()for the Ident. So from swc's perspective, you are referring to a different variable than you think. When constructing anIdent, you should usually always provide a SyntaxContext.I think this would pose a problem in Webpack because it serializes it into a code string again, but for Turbopack these SyntaxContext are important.