fluentui-system-icons icon indicating copy to clipboard operation
fluentui-system-icons copied to clipboard

Uncaught TypeError: Cannot read properties of undefined (reading 'createContext')

Open cforce opened this issue 7 months ago • 1 comments

Uncaught TypeError: Cannot read properties of undefined (reading 'createContext') at IconDirectionContext.js:2:49 https://github.com/microsoft/fluentui-system-icons/blob/main/packages/react-icons/src/contexts/IconDirectionContext.ts#L3

Image

see https://github.com/Azure-Samples/azure-search-openai-demo/issues/2369#issuecomment-2726519099

{
  "name": "frontend",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "engines": {
    "node": ">=14.0.0"
  },
  "scripts": {
    "dev": "vite --host 127.0.0.1",
    "build": "tsc && vite build",
    "preview": "vite preview"
  },
  "dependencies": {
    "@azure/msal-browser": "^3.26.1",
    "@azure/msal-react": "^2.2.0",
    "@fluentui/react": "^8.112.11",
    "@fluentui/react-components": "^9.60.0",
    "@fluentui/react-icons": "2.0.279",
    "@react-spring/web": "^9.7.5",
    "@types/react-table": "^7.7.20",
    "axios": "^1.8.1",
    "dompurify": "^3.2.0",
    "esbuild": "^0.25.0",
    "i18next": "^24.2.0",
    "i18next-browser-languagedetector": "^8.0.2",
    "i18next-http-backend": "^3.0.1",
    "idb": "^8.0.0",
    "ndjson-readablestream": "^1.2.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-markdown": "^9.0.1",
    "react-router-dom": "^6.28.0",
    "react-helmet-async": "^2.0.5",
    "react-i18next": "^15.1.1",
    "react-syntax-highlighter": "^15.6.1",
    "rehype-raw": "^7.0.0",
    "remark-gfm": "^4.0.0",
    "scheduler": "^0.20.2",
    "react-table": "^7.8.0"
  },
  "devDependencies": {
    "@types/dom-speech-recognition": "^0.0.4",
    "@types/dompurify": "^3.0.5",
    "@types/react": "^18.3.12",
    "@types/react-dom": "^18.3.1",
    "@types/react-syntax-highlighter": "^15.5.13",
    "@vitejs/plugin-react": "^4.3.4",
    "prettier": "^3.3.3",
    "rollup-plugin-visualizer": "^5.12.0",
    "typescript": "^5.6.3",
    "vite": "^6.2.0"
  }
}

cforce avatar Mar 15 '25 21:03 cforce