【发布时间】:2022-01-05 19:56:39
【问题描述】:
我正在 Linux Mint 20 操作系统中使用 docker Nodejs 应用程序,我可以成功运行 docker-compose。但是当尝试使用npm run start:dev 启动应用程序时,它会开始观察,然后显示以下错误:
node_modules/node-ssh/lib/typings/index.d.ts:4:41 - error TS2307: Cannot find module 'ssh2-streams' or its corresponding type declarations.
4 import { Prompt, TransferOptions } from 'ssh2-streams';
[1:30:24 PM] Found 1 error. Watching for file changes.
请帮忙!!
【问题讨论】: