最近在使用webpack的过程中,在开始时使用npm init创建package.json时,npm一直卡在version处,狂按回车键也是没用的。

问题截图
npm init 失败的解决方法!

npm init在version步骤卡住.png

解决方法

使用npm init -f命令,即可完成。-f大概是force的意思。

相关文章:

  • 2021-08-16
  • 2021-06-05
  • 2021-11-28
  • 2021-06-15
  • 2021-08-02
  • 2022-01-07
猜你喜欢
  • 2022-02-03
  • 2021-06-06
  • 2022-01-02
  • 2022-02-16
  • 2021-07-05
  • 2021-12-30
  • 2021-10-05
相关资源
相似解决方案