Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Rails 6.0 w/Webpacker:Heroku推送失败:错误:RPC失败;curl 18传输结束,剩余未完成的读取数据_Ruby On Rails_Heroku_Webpacker - Fatal编程技术网

Ruby on rails Rails 6.0 w/Webpacker:Heroku推送失败:错误:RPC失败;curl 18传输结束,剩余未完成的读取数据

Ruby on rails Rails 6.0 w/Webpacker:Heroku推送失败:错误:RPC失败;curl 18传输结束,剩余未完成的读取数据,ruby-on-rails,heroku,webpacker,Ruby On Rails,Heroku,Webpacker,当推到Heroku时,我在编译时遇到超时,如下跟踪所示: ... remote: -----> Installing node-v10.14.1-linux-x64 remote: -----> Installing yarn-v1.12.3 remote: -----> Detecting rake tasks remote: -----> Preparing app for Rails asset pipeline remote: Running: ra

当推到Heroku时,我在编译时遇到超时,如下跟踪所示:

...
remote: -----> Installing node-v10.14.1-linux-x64
remote: -----> Installing yarn-v1.12.3
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote:        Running: rake assets:precompile
remote:        yarn install v1.12.3
remote:        [1/4] Resolving packages...
remote:        [2/4] Fetching packages...
remote:        info fsevents@1.2.9: The platform "linux" is incompatible with this module.
remote:        info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
remote:        [3/4] Linking dependencies...
remote:        warning "@rails/webpacker > pnp-webpack-plugin > ts-pnp@1.1.2" has unmet peer dependency "typescript@*".
remote:        warning " > rails-erb-loader@5.5.2" has unmet peer dependency "webpack@^2.0.0 || >= 3.0.0-rc.0 || ^3.0.0".
remote:        warning " > webpack-dev-server@3.3.1" has unmet peer dependency "webpack@^4.0.0".
remote:        warning "webpack-dev-server > webpack-dev-middleware@3.6.2" has unmet peer dependency "webpack@^4.0.0".
remote:        [4/4] Building fresh packages...
remote:        Done in 24.78s.
remote:        Compiling…
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: el remoto se colgó de manera inesperada
fatal: el remoto se colgó de manera inesperada
我试了好几次,结果都一样。 在我看来,我没有改变任何可能导致这个问题的事情

最后提交的更改主要在JS文件中,由于它在编译时挂起,我猜它与JS资产有关


谢谢你的帮助。

好吧,毕竟我自己发现了问题。这是已删除文件的导入。Webpacker没有抛出任何错误,这一直隐藏着问题


谢谢

好吧,毕竟我自己发现了问题。这是已删除文件的导入。Webpacker没有抛出任何错误,这一直隐藏着问题


谢谢

我在你的案子的可能解决方案上发现了一些相似之处。我希望这有助于我在你的案例的可能解决方案上找到一些相似之处。我希望这有帮助