【问题标题】:How to install nodemailer in npm?如何在 npm 中安装 nodemailer?
【发布时间】:2023-02-09 13:42:57
【问题描述】:

我输入了“npm install nodemailer”。但没有出现 node_modules 文件夹和 package-lock.json 文件。怎么了?

我试图搜索。

【问题讨论】:

    标签: node.js nodemailer


    【解决方案1】:

    确保你在你有 package.json 的项目的根目录中,或者如果它是一个新项目,那么你将必须通过 npm init -y 初始化 npm 然后

    npm i nodemailer

    【讨论】:

      猜你喜欢
      • 2020-03-09
      • 2014-06-15
      • 2022-01-17
      • 2016-09-05
      • 2017-10-30
      • 2021-04-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多