我正在尝试将我的web应用程序(MERN堆栈)推送到Heroku,但我一直收到此错误 enter image description here 我在index.js中尝试的内容 if (!: jwtPrivateKey is not defined')console.log(config.get("jwtPrivateKey")) 这是我记录它们时的值 the logs image 在配置文件</e
config.get("JWTPRIVATEKEY")) { // nodeany other number exc. 0) is exit the app, 0 is success}
userAuth.js I再次尝试获得私有,但是它没有设置_id }, config.get("JWTPRIVATEKEY&
following parameters:我看到在使用PowerShell时,使用以下方法设置环境vars:我希望设置变量,以便在custom-environment-variables.json的后端存储一个名称,可以通过这个名称使用config.get("test")提取它。custom-environment-variables.json "test": "test1"
我正在尝试列出Linux中/opt/下的所有文件和目录。我的代码在Windows平台上运行。我所做的是读取一个配置文件,该文件包含Linux系统的所有登录凭据,但是即使我的Windows机器连接到Linux服务器,我也无法列出这些文件或目录。import ConfigParserconfig.read('config.cfg')
USER = config.g