Skip to content

Can't run npm run build Missing "./types" specifier in "@inertiajs/react" package error during build: #1481

@konexioncnns

Description

@konexioncnns

Version:

  • @inertiajs/react version: 1.0

Describe the problem:

Can't run "npm run build"

[commonjs--resolver] Missing "./types" specifier in "@inertiajs/react" package
error during build:
Error: Missing "./types" specifier in "@inertiajs/react" package

Steps to reproduce:

when we run "npm run build" command it issue an error
err

Metadata

Metadata

Assignees

No one assigned

    Labels

    reactRelated to the react adapter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions