Skip to content

I unable to build package for SPfx 1.5 version #2076

@rajput9997

Description

@rajput9997

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

I created SPFx webpart solution along with ReactJs framework. while I build the package solution using gulp bundle --ship, I unable to finish build successfully and following error showing into logged.

The build failed because a task wrote output to stderr.

image

I believe due to above screenshot error, i unable to complete gulp package-solution --ship. I've used includeClientSideAssets": true into package-solution.json file.

My Attempts:

I checked all version of packages and all are updated. I've confirmed through npm updated.

I executed following command to get clean and again build the solution.

gulp clean
gulp build
gulp build --ship (failed on this case and error shown above screenshot)

Following attached screenshot for package.json file

image

I'm not sure what is missing part from my end?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:spfxCategory: SharePoint Framework (not extensions related)status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions