这个错误提示是因为您的应用程序中缺少 async 模块。您需要在应用程序中安装 async 模块,方法如下:

  1. 打开命令行工具,进入应用程序的根目录。

  2. 运行以下命令安装 async 模块:

npm install async --save
  1. 安装完成后,在应用程序中导入 async 模块即可,例如:
const async = require('async');
nodejs 提示Error Cannot find module async

原文地址: https://www.cveoy.top/t/topic/bLmD 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录