Closed PengZhao12 closed 3 years ago
Is react
and react-dom
in your devDependencies
? Can you provide more information (how you import PinField
, do you have a reproductible repo etc)?
No news for 2 weeks, I close the issue. Feel free to reopen it if your error persists.
< PinField data-cy="pin-field" />
but
Uncaught TypeError: react_1.forwardRef is not a function at Object../node_modules/react-pin-field/lib/pin-field/pin-field.js (pin-field.js:240) at webpack_require__ (bootstrap:782) at fn (bootstrap:150) at Object../node_modules/react-pin-field/lib/pin-field/index.js (index.js:13) at webpack_require (bootstrap:782) at fn (bootstrap:150) at Object../node_modules/react-pin-field/lib/index.js (index.js:14) at __webpack_require (bootstrap:782) at fn (bootstrap:150) at Module../src/components/PinInp/index.js (index.js:1)