Turbopack Error: Failed to write app endpoint /elementCatogories/[slug]/page #97039
Replies: 1 comment 1 reply
|
"Next.js package not found" comes from pub async fn try_get_next_package(context_directory: FileSystemPath) -> Result<Vc<OptionFileSystemPath>> {
let root = context_directory.root().owned().await?;
let result = resolve(
context_directory.clone(),
ReferenceType::CommonJs(CommonJsReferenceSubType::Undefined),
Request::parse(Pattern::Constant(rcstr!("next/package.json"))),
node_cjs_resolve_options(root.clone()),
);
...
}This is Turbopack's own Rust-side resolver doing a standard Node CommonJS resolution for That points at the package manager's
Since this is happening on a specific route ( |
Uh oh!
There was an error while loading. Please reload this page.
Turbopack version:
23c46498Next.js version:
16.1.6Error message:
All reactions