ant-design-icons icon indicating copy to clipboard operation
ant-design-icons copied to clipboard

_iconsReact.default.add is undefined

Open jsefiani opened this issue 6 years ago • 0 comments

Can't solve this issue. Whenever I try to run my React project I get the following error: _iconsReact.default.add is undefined

This error comes from the following file path (line 56): /node_modules/lib/icon/index.js

The following code in that file seems to have some problems, because _iconsReact.default.add stays undefined.

// Initial setting
_iconsReact["default"].add.apply(_iconsReact["default"], _toConsumableArray(Object.keys(allIcons).map(function (key) {
  return allIcons[key];
})));

What can I do to resolve this issue?

Versions:

  • webpack: 4.23.1
  • babel-core: 7.0.0-bridge.0
  • react: 16.3.1
  • antd 3.13.6

jsefiani avatar Feb 25 '19 14:02 jsefiani