我正在部署一个Django项目Heroku。我需要运行node.exe,所以我将node.exe复制到我的文件夹中,并将它们全部部署到Heroku。subprocess.check_output(cmd,shell=False) return process.decode()这在本地工作,但当在Heroku上运行时,我得到
[Errno 2] No such file or directory: 'node.exe
尝试让Heroku使用工作区为Yarn v3使用缓存模块。cache-native-yarn-cache=true Heroku输出: -----> Creating runtime environment NPM_CONFIG_LOGLEVELHeroku will install the latest Yarn 1.x, so that per project version can be used.information here: https:
我有一个Rails应用程序,客户端使用React、Webpack和Yarn。我在/client目录中拥有与客户端相关的所有内容。这包括我的yarn.lock和package.json文件。我有一个过程文件,它可以光盘到/client中并正确地运行yarn run build。这在本地工作,没有错误。但是,当我部署/推送到Heroku时,我的push被拒绝,并得到以下错误:
remote: cd client && yarn ru