npm install install use String.prototype.padStart() stuck (solved)

There has been a freeze during the installation process using npm install, and I found that use String.prototype.padStart() has been stuck here:
insert image description here

Solution:

First delete the markdown related content, the steps are as follows:

在vue-element-admin\package.json 删除 "tui-editor": "1.3.3"
在vue-element-admin\src\components 删除 MarkdownEditor 文件夹
在vue-element-admin\src\views\components-demo 删除 markdown.vue 文件
在vue-element-admin\src\router\modules components.js 删除 {
    
    path: 'markdown',...}
npm cache clean --force
npm install --registry=https://registry.npm.taobao.org

Finally, a perfect solution!!!
Reference link: npm install error #3871

Guess you like

Origin blog.csdn.net/qq_34663267/article/details/126743797