Skip to content

NextJS build failed #9

@trexguo

Description

@trexguo

Hi,

This project is really awesome.

When I tried to build my nextjs( next": "16.1.6") project with almostnode, I have this error:

-----
FATAL: An unexpected Turbopack error occurred. A panic log has been written to /var/folders/j4/_xyc1l8s48zg40k06x8mnbv80000gn/T/next-panic-111ff986222732d84a9ba0c7330fbe23.log.

To help make Turbopack better, report this error by clicking here.
-----


> Build error occurred
Error [TurbopackInternalError]: NftJsonAsset: cannot handle filepath node:module

Debug info:
- Execution of get_all_written_entrypoints_with_issues_operation failed
- Execution of EntrypointsOperation::new failed
- Execution of all_entrypoints_write_to_disk_operation failed
- Execution of Project::emit_all_output_assets failed
- Execution of emit_assets failed
- Execution of emit failed
- Execution of <NftJsonAsset as Asset>::content failed
- NftJsonAsset: cannot handle filepath node:module
    at <unknown> (TurbopackInternalError: NftJsonAsset: cannot handle filepath node:module) {
  type: 'TurbopackInternalError',
  location: undefined

Any idea what went wrong? Thansk~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions