gpt4 book ai didi

ruby-on-rails - 分享部落 sh : indexer: command not found

转载 作者:数据小太阳 更新时间:2023-10-29 09:00:00 25 4
gpt4 key购买 nike

我只是克隆了https://github.com/sharetribe/sharetribe开源项目,我安装每个 gem 并在我尝试运行时:

bundle exec rake ts:index

我收到以下错误:

WARN You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be "" to avoid this warning You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be "" to avoid this warning Generating configuration to /Users/jeanosorio/Repos/sharetribe/config/development.sphinx.conf DEBUG SQL (0.6ms) DELETE FROM delayed_jobs WHERE (handler LIKE ('--- !ruby/object:ThinkingSphinx::Deltas::%') AND locked_at IS NULL AND locked_by IS NULL AND failed_at IS NULL) sh: indexer: command not found

而且我无法让它工作。

最佳答案

我自己遇到过这个问题,所以对于看到此错误的任何人,问题很可能是您的节点版本与当前的 Sharetribe 版本不同。

使用 NVM 来管理它。在撰写本文时,Sharetribe 的 Node 版本为 6.9。

$ NVM 使用 6.9

然后删除并重新安装node_modules

$ rm -rf client/node_modules && npm install

应该这样做。

关于ruby-on-rails - 分享部落 sh : indexer: command not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38038302/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com