Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems using frame work in SPFX 1.16.1 #561

Open
lhdeveloper opened this issue Apr 14, 2023 · 1 comment
Open

Problems using frame work in SPFX 1.16.1 #561

lhdeveloper opened this issue Apr 14, 2023 · 1 comment

Comments

@lhdeveloper
Copy link

I can't use this framework or @pnp/spfx-property-controls.
Both don't show errors in the terminal (with gulp serve running), but in the browser the webpart shows the following error:
Could not load banner-home-web-part in require. Error: Script error for: @microsoft/sp-lodash-subset

  • SPFX version [ 1.16.1 ]
  • @pnp/spfx-controls-react version [ 3.13.0 ]
  • @pnp/spfx-property-controls version [ 3.12.0 ]

package.json:
{ "name": "hywork-lab", "version": "0.0.1", "private": true, "engines": { "node": ">=16.13.0 <17.0.0" }, "main": "lib/index.js", "scripts": { "build": "gulp bundle", "clean": "gulp clean", "test": "gulp test" }, "dependencies": { "@headlessui/react": "^1.7.13", "@microsoft/decorators": "1.16.1", "@microsoft/sp-application-base": "1.16.1", "@microsoft/sp-core-library": "1.16.1", "@microsoft/sp-dialog": "1.16.1", "@microsoft/sp-lodash-subset": "1.16.1", "@microsoft/sp-office-ui-fabric-core": "1.16.1", "@microsoft/sp-property-pane": "1.16.1", "@microsoft/sp-webpart-base": "1.16.1", "@pnp/graph": "^2.13.0", "@pnp/sp": "^2.11.0", "@pnp/spfx-controls-react": "3.13.0", "@pnp/spfx-property-controls": "^3.12.0", "@segment/analytics-node": "^1.0.0-beta.25", "@tailwindcss/forms": "^0.5.3", "@types/ramda": "^0.28.23", "babel-preset-es2015": "^6.24.1", "flowbite": "^1.6.3", "flowbite-react": "^0.4.2", "gulp-autoprefixer": "^8.0.0", "moment": "^2.29.4", "office-ui-fabric-react": "^7.199.1", "ramda": "^0.29.0", "react": "17.0.1", "react-color": "^2.19.3", "react-dom": "17.0.1", "react-icons": "^4.8.0", "tailwind-children": "^0.5.0", "tslib": "2.3.1" }, "devDependencies": { "@babel/core": "7.14.3", "@babel/preset-env": "7.14.4", "@babel/preset-react": "7.13.13", "@fullhuman/postcss-purgecss": "^5.0.0", "@microsoft/eslint-config-spfx": "1.16.1", "@microsoft/eslint-plugin-spfx": "1.16.1", "@microsoft/rush-stack-compiler-4.5": "0.2.2", "@microsoft/sp-build-web": "1.16.1", "@microsoft/sp-module-interfaces": "1.16.1", "@microsoft/sp-office-ui-fabric-core": "^1.16.1", "@rushstack/eslint-config": "2.5.1", "@types/react": "17.0.45", "@types/react-color": "^3.0.6", "@types/react-dom": "17.0.17", "@types/tailwindcss": "^3.1.0", "@types/webpack-env": "~1.15.2", "ajv": "^6.12.5", "autoprefixer": "^10.4.14", "babel-loader": "8.2.2", "eslint-plugin-react-hooks": "4.3.0", "file-loader": "^6.2.0", "gulp": "4.0.2", "gulp-postcss": "^9.0.1", "postcss": "^8.4.21", "postcss-cli": "^10.1.0", "postcss-import": "^15.1.0", "postcss-nesting": "^11.2.2", "tailwindcss": "^3.2.7", "typescript": "4.5.5" } }

@ghost
Copy link

ghost commented Apr 14, 2023

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

@ghost ghost added the Needs: Triage 🔍 label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant