-
Notifications
You must be signed in to change notification settings - Fork 848
Description
Sample
react-application-alert-banner
Author(s)
@nicolas Kheirallah
What happened?
When i try to bundle and package the solution I get below error.
[16:25:06] [package-solution] Reading Sharepoint Assets & Creating XML...
[16:25:06] Error - [package-solution] Error: Could not find Element Manifest: \sp-dev-fx-extensions-main\samples\react-application-alert-banner\sharepoint\assets\elements.xml
[16:25:06] Finished subtask 'package-solution' after 155 ms
[16:25:06] Finished 'package-solution' after 162 ms
[16:25:07] ==================[ Finished ]==================
Error - [package-solution] Error: Could not find Element Manifest: /sp-dev-fx-extensions-main/samples/react-application-alert-banner/sharepoint/assets/elements.xml
[16:25:07] Project alert-banner version:0.0.1
[16:25:07] Build tools version:3.19.0
[16:25:07] Node version:v18.20.5
[16:25:07] Total duration:4.24 s
[16:25:07] Task errors:1
Steps to reproduce
- Clone the repository
- Navigate to the solution folder in node.js command prompt
- Run npm install
- Run gulp build
- Run gulp bundle --ship
- gulp package-solution --ship
Expected behavior
The solution to be packaged successfully
Target SharePoint environment
SharePoint Online
Developer environment
Windows
Browsers
- Internet Explorer
- Microsoft Edge
- Google Chrome
- FireFox
- Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Node.js version
v18.20.5
Additional environment details
[email protected] D:\SPFx\sp-dev-fx-extensions-main\samples\react-application-alert-banner
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @microsoft/[email protected]
+-- @rushstack/[email protected]
+-- @types/[email protected]
+-- @types/[email protected]
+-- @types/[email protected]
+-- @types/[email protected]
+-- [email protected]
+-- [email protected] extraneous
+-- [email protected]
+-- [email protected]
+-- [email protected] extraneous
+-- [email protected]
+-- [email protected]
+-- [email protected] extraneous
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
If i manually add elements.xml I am getting further files missing error for /sp-dev-fx-extensions-main/samples/react-application-alert-banner/sharepoint/assets/listElements.xml.
When I download/clone the repo, sharepoint/assets folder is not found.