Closed ranjit-redekar closed 1 year ago
Hi @ranjit-redekar, what version of React are you using? That version of neo-react requires React v18, and from the error message that you're getting, my best guess is that you're using React v17.
issue is over two weeks old, closing as stale
name: "I'm using a Menu component from neo-react and due to this component build id getting failed." description: ERROR in ./node_modules/@avaya/neo-react/dist/avaya-neo-react.mjs 16941:12-14 export 'useId' (imported as 'an') was not found in 'react' (possible exports: Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, version) , title: "Avaya React Menu component using React internal stuff and due to this build is getting failed" labels: [] assignees: [] body:
type: markdown attributes: value: |
Quick Checklist
"react": "^17.0.2", "@avaya/neo": "^3.69.0", "@avaya/neo-react": "^0.8.6",
type: input id: neo-version attributes: label: What version of
Neo
are you using? placeholder: 3.69.0 validations: required: truetype: input id: neo--react-version attributes: label: What version of
Neo
are you using? placeholder: 0.8.6 validations: required: truetype: input id: package-manager attributes: label: What package manager are you using? placeholder: npm validations: required: true
type: input id: os attributes: label: What operating system are you using? placeholder: Windows validations: required: true
type: input id: browser attributes: label: What browser and version are you using? placeholder: Chrome 103.0.5060.53 validations: required: true
type: textarea id: bug-description attributes: label: I'm using a Menu component from neo-react and due to this component build id getting failed description: A clear and concise description of what the bug is. validations: required: true