chatgpt-telebot
chatgpt-telebot copied to clipboard
小白求助:Cannot find package 'dotenv' imported
node index.js 报错如下: node:internal/errors:491 ErrorCaptureStackTrace(err); ^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'dotenv' imported from index.js
[90m at new NodeError (node:internal/errors:400:5)[39m
[90m at packageResolve (node:internal/modules/esm/resolve:889:9)[39m
[90m at moduleResolve (node:internal/modules/esm/resolve:938:20)[39m
[90m at defaultResolve (node:internal/modules/esm/resolve:1153:11)[39m
[90m at nextResolve (node:internal/modules/esm/loader:163:28)[39m
[90m at ESMLoader.resolve (node:internal/modules/esm/loader:842:30)[39m
[90m at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)[39m
[90m at ModuleWrap.