Skip to content
This repository was archived by the owner on Jan 23, 2022. It is now read-only.

I get a error #11

@carlding1990

Description

@carlding1990
PS D:\Temp\VSCode\0-dimension-dictionary> vue add element-plus
 WARN  There are uncommitted changes in the current repository, it's recommended to commit or stash them first.
? Still proceed? Yes

📦  Installing vue-cli-plugin-element-plus...


added 1 package in 2s

1 package is looking for funding
  run `npm fund` for details
✔  Successfully installed plugin: vue-cli-plugin-element-plus

? How do you want to import Element Plus? Fully import
? Do you want to overwrite the SCSS variables of Element Plus? Yes
? Choose the locale you want to load, the default locale is English (en) zh-cn

🚀  Invoking generator for vue-cli-plugin-element-plus...
📦  Installing additional dependencies...


added 8 packages in 3s

1 package is looking for funding
  run `npm fund` for details
⚓  Running completion hooks...
 ERROR  TypeError: Cannot read property 'replace' of undefined
TypeError: Cannot read property 'replace' of undefined
    at D:\Temp\VSCode\0-dimension-dictionary\node_modules\vue-cli-plugin-element-plus\generator\index.js:45:45
    at runGenerator (C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue\cli\lib\invoke.js:132:13)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async invoke (C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue\cli\lib\invoke.js:92:3)
PS D:\Temp\VSCode\0-dimension-dictionary>

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