Skip to content

Having error while Creating build for the Gutenberg. #54486

Open
@NidhiDhandhukiya74

Description

Description

I have cloned the Gutenberg Repository.
Whenever I tried to create build I got the below error :-

error TS6053: File 'Sites/demosites/app/public/wp-content/plugins/gutenberg/packages/core-data/build-types/index.d.ts' not found.
The file is in the program because:
Root file specified for compilation
error TS6231: Could not resolve the path '/Users/nidhimeetshah/Local' with the extensions: '.ts', '.tsx', '.d.ts', '.cts', '.d.cts', '.mts', '.d.mts'.
The file is in the program because:
Root file specified for compilation

Step-by-step reproduction instructions

Followed this steps :-
$ git clone https://github.com/YOUR_GITHUB_USERNAME/gutenberg.git
$ cd gutenberg
$ git remote add upstream https://github.com/WordPress/gutenberg.git
npm install
npm run dev

Screenshots, screen recording, code snippet

CleanShot 2023-09-15 at 08 58 10@2x

Environment info

  • Wordpress 6.3
  • Twenty Twenty three Theme

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Assignees

No one assigned

    Labels

    Gutenberg PluginIssues or PRs related to Gutenberg Plugin management related efforts[Type] Build ToolingIssues or PRs related to build tooling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions