react-application-alert-banner: Could not find Element Manifest: sp-dev-fx-extensions-main\samples\react-application-alert-banner\sharepoint\assets\elements.xml #1460
Labels
Needs: Triage 🔍
type:bug-suspected
Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
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
Expected behavior
The solution to be packaged successfully
Target SharePoint environment
SharePoint Online
Developer environment
Windows
Browsers
Node.js version
v18.20.5
Additional environment details
alert-banner@0.0.1 D:\SPFx\sp-dev-fx-extensions-main\samples\react-application-alert-banner
+-- @microsoft/decorators@1.20.0
+-- @microsoft/eslint-config-spfx@1.20.2
+-- @microsoft/eslint-plugin-spfx@1.20.2
+-- @microsoft/generator-sharepoint@1.19.0
+-- @microsoft/mgt@4.2.4
+-- @microsoft/microsoft-graph-client@3.0.2
+-- @microsoft/rush-stack-compiler-4.7@0.1.1
+-- @microsoft/sp-application-base@1.20.0
+-- @microsoft/sp-build-web@1.20.2
+-- @microsoft/sp-core-library@1.20.0
+-- @microsoft/sp-dialog@1.20.0
+-- @microsoft/sp-http@1.20.0
+-- @microsoft/sp-module-interfaces@1.20.2
+-- @rushstack/eslint-config@4.0.2
+-- @types/node@18.19.55
+-- @types/react-dom@17.0.25
+-- @types/react@17.0.80
+-- @types/webpack-env@1.15.3
+-- ajv@6.12.6
+-- bindings@1.5.0 extraneous
+-- del@7.1.0
+-- eslint@8.57.1
+-- file-uri-to-path@1.0.0 extraneous
+-- gulp-cli@2.3.0
+-- gulp@4.0.2
+-- nan@2.20.0 extraneous
+-- office-ui-fabric-react@7.204.0
+-- react-dom@17.0.0
+-- react@17.0.0
+-- tslib@2.3.1
`-- typescript@4.7.4
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.
The text was updated successfully, but these errors were encountered: