-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedsharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-support
Description
What type of issue is this?
Documentation issue/typo
Issue description
When I try to use the top actions in the web part and follow this documentation, it seems like '@microsoft/sp-top-actions' is not defined/installed in the package.json
When I follow this article, I get an error in the browser that sp-top-actions cannot be found.
This package needs to be installed separately.
{
"name": "textwp",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=22.14.0 < 23.0.0"
},
"main": "lib/index.js",
"scripts": {
"build": "gulp bundle",
"clean": "gulp clean",
"test": "gulp test"
},
"dependencies": {
"tslib": "2.3.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"@fluentui/react": "^8.106.4",
"@microsoft/sp-core-library": "1.21.1",
"@microsoft/sp-component-base": "1.21.1",
"@microsoft/sp-property-pane": "1.21.1",
"@microsoft/sp-webpart-base": "1.21.1",
"@microsoft/sp-lodash-subset": "1.21.1",
"@microsoft/sp-office-ui-fabric-core": "1.21.1"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-5.3": "0.1.0",
"@rushstack/eslint-config": "4.0.1",
"@microsoft/eslint-plugin-spfx": "1.21.1",
"@microsoft/eslint-config-spfx": "1.21.1",
"@microsoft/sp-build-web": "1.21.1",
"@types/webpack-env": "~1.15.2",
"ajv": "^6.12.5",
"eslint": "8.57.1",
"gulp": "4.0.2",
"typescript": "~5.3.3",
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
"eslint-plugin-react-hooks": "4.3.0",
"@microsoft/sp-module-interfaces": "1.21.1"
}
}This is the current version of the provisioned SPFx React project.
Metadata
Metadata
Assignees
Labels
area:docsCategory: SharePoint developer/development documentation relatedCategory: SharePoint developer/development documentation relatedsharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-support