TypeScript 无法在 Angular 中使用 SendGrid api 找到模块“https”

问题描述 投票:0回答:0

我在使用 Angular 和 Sendgrid api 时收到此错误消息:

两种安装方式我都试过:

  • npm 安装-g --save @sendgrid/helpers
  • npm 安装-g --save @sendgrid/mail

我也试过删除我的节点模块和 package_lock.json,清除缓存并重新安装节点模块?

但是to no avial还是有同样的错误信息

任何想法都会得到极大的应用!

angular typescript sendgrid
© www.soinside.com 2019 - 2024. All rights reserved.