我正在使用 rails 4.2.5,最近我react_on_rails
在我的应用程序中添加了。当我尝试在 Heroku 上部署代码时出现错误(mkdir:无法创建目录)。应用程序使用了几个 webpack,一个用于 Ruby,另一个用于 Node。
git push heroku master
Counting objects: 963, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (793/793), done.
Writing objects: 100% (963/963), 982.20 KiB | 0 bytes/s, done.
Total 963 (delta 384), reused 160 (delta 70)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Deleting 18 files matching .slugignore patterns.
remote: -----> Node.js app detected
remote: mkdir: cannot create directory ‘/tmp/build_2116c2c5be27b9852c9d716798b3bcf9/.heroku’: Not a directory
remote: ! Push rejected, failed to compile Node.js app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to acceptance.
remote:
To https://git.heroku.com/acceptance.git
! [remote rejected] master -> master (pre-receive hook declined)
任何帮助深表感谢。