sp-dev-fx-webparts icon indicating copy to clipboard operation
sp-dev-fx-webparts copied to clipboard

react-add-js-css-ref - Builds but does not deploy correctly to app center

Open robertcaretta opened this issue 1 year ago • 3 comments

Disclaimer

Yes

Sample

react-add-js-css-ref

Contributor(s)

Siddharth Vaghasia, Don Kirkham

What happened?

I used the Docker container method with WSL on Windows 11 to build the package.
https://github.com/pnp/sp-dev-fx-webparts/wiki/Opening-a-sample-using-a-development-container

When I upload and deploy the .sppkg file to the SharePoint Apps admin panel I receive this error regarding validating the app manifest. image

Steps to reproduce

  1. Follow these instructions to set up a virtualized Docker workspace. https://github.com/pnp/sp-dev-fx-webparts/wiki/Opening-a-sample-using-a-development-container
  2. Run these commands.
    gulp bundle --ship gulp package-solution --ship
  3. Upload the .sppkg file the App center.
  4. Review the error

Expected behavior

App should compile, build, and deploy without errors.

Target SharePoint environment

SharePoint Online

Developer environment

Windows

Browsers

  • [ ] Internet Explorer
  • [X] Microsoft Edge
  • [X] Google Chrome
  • [ ] FireFox
  • [ ] Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

What version of Node.js is currently installed on your workstation?

N/A (Virtualized via Docker, WSL, VS Code Extention)

What version of Node.js is required by the sample?

v16 | v14 | v12

Paste the results of SPFx doctor

Additional environment details

No response

robertcaretta avatar Jul 18 '23 13:07 robertcaretta

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Jul 18 '23 13:07 ghost

I got the same results

CollinHunterGOC avatar Nov 23 '23 20:11 CollinHunterGOC

This issue has been marked as stale due to no progress in over 90 days. If you are still experiencing this issue, please provide additional information so we can help you resolve it.

github-actions[bot] avatar Feb 22 '24 01:02 github-actions[bot]

Closing this issue due to lack of activity. If you are still encountering this issue, please do not hesitate to open a new issue. Make sure to follow the guidance on how to create good issues to increase your chances of getting the help you deserve.

github-actions[bot] avatar Mar 01 '24 01:03 github-actions[bot]