我正在尝试从node.js- cloud函数索引文件运行一个python脚本。为了访问python脚本,我还使用了"python-shell“...问题是,每次我运行deploy my functions of the index.js文件时,都会打印以下错误:
Error: python: can't open file '../Python36/fListener.py': [Errno 2]
No such file or directory
at PythonShell.parseError (/user_c
我正在尝试将一个Node.js应用程序部署到弹性豆茎。问题是,每次启动脚本都会失败。我已经将ec2配置为使用start脚本npm start,它执行node app.js (在package.json中定义)。但是,这个启动脚本在ec2中失败。我得到了记录错误,
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the myProject start script 'node app.js'.
npm ERR! Make sure you have the latest version of node.js and npm