9 node.js google-cloud-platform yargs
我正在尝试将我的 node.js 应用程序部署到google cloud并且我的 package.json 包含yargs依赖项。
当我将应用程序部署到谷歌云后,我收到错误无法在谷歌云平台日志中找到模块 yargs。
我该如何解决上述问题?
我也有这个问题。您需要做的就是在本地安装“yargs”
npm init
npm i yargs --save
Run Code Online (Sandbox Code Playgroud)
你可以在这里看到完整的指南