Skip to content

安装umi-plugin-antd-icon-config插件失败 #14

@zhoachenIt

Description

@zhoachenIt

命令:yarn add umi-plugin-antd-icon-config -D
错误描述:
plugin umi-plugin-antd-icon-config is already registered by D:/Workspace/JavaWorkspace/other/AntDesignUI/node_modules/umi-plugin-antd-icon-config/lib/index.js, plugin from D:/Workspace/JavaWorkspace/other/AntDesignUI/node_modules/umi-plugin-antd-icon-config/lib/index.js register failed.
Error: plugin umi-plugin-antd-icon-config is already registered by D:/Workspace/JavaWorkspace/other/AntDesignUI/node_modules/umi-plugin-antd-icon-config/lib/index.js, plugin from D:/Workspace/JavaWorkspace/other/AntDesignUI/node_modules/umi-plugin-antd-icon-config/lib/index.js register failed.
at Service.registerPlugin (D:\Workspace\JavaWorkspace\other\AntDesignUI\node_modules@umijs\core\lib\Service\Service.js:420:13)
at Service.initPlugin (D:\Workspace\JavaWorkspace\other\AntDesignUI\node_modules@umijs\core\lib\Service\Service.js:404:10)
at Service.initPresetsAndPlugins (D:\Workspace\JavaWorkspace\other\AntDesignUI\node_modules@umijs\core\lib\Service\Service.js:313:12)
at D:\Workspace\JavaWorkspace\other\AntDesignUI\node_modules@umijs\core\lib\Service\Service.js:227:13
at Generator.next ()
at asyncGeneratorStep (D:\Workspace\JavaWorkspace\other\AntDesignUI\node_modules@umijs\core\lib\Service\Service.js:106:103)
at _next (D:\Workspace\JavaWorkspace\other\AntDesignUI\node_modules@umijs\core\lib\Service\Service.js:108:194)
at D:\Workspace\JavaWorkspace\other\AntDesignUI\node_modules@umijs\core\lib\Service\Service.js:108:364
at new Promise ()
at D:\Workspace\JavaWorkspace\other\AntDesignUI\node_modules@umijs\core\lib\Service\Service.js:108:97
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions