Open artola opened 2 weeks ago
Still happening with 14.3.0-canary.63 (turbo)
Edit by maintainer bot: Comment was automatically minimized because it was considered unhelpful. (If you think this was by mistake, let us know). Please only comment if it adds context to the issue. If you want to express that you have the same problem, use the upvote 👍 on the issue description or subscribe to the issue for updates. Thanks!
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/goofy-ritchie-39dq82
To Reproduce
next dev --turbo
) oryarn dev
(already modified for turbo).export async function GET() { const p = path.resolve("./foo.txt");
return new NextResponse("NO ERROR :)"); }
Note: Even if the function
getPath
is defined within the GET still the linter show errors:Current vs. Expected behavior
Linter should understand these calls, otherwise I should know what to do :)
Provide environment information
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
Same behavior in latest as in canary 36.
PACK-3045