【问题标题】:rails aborted! Don't know how to build task 'stimulus_reflex:install'导轨中止!不知道如何构建任务 'stimulus_reflex:install'
【发布时间】:2020-12-05 13:55:22
【问题描述】:

bundle exec rails stimulus_reflex:install

给了我这个错误,
rails 中止了!不知道如何构建任务 'stimulus_reflex:install'

为什么?

(命令顺序...

  1. rails new --skip-spring --webpack=stimulus chatter
  2. yarn add redis cable_ready stimulus_reflex
  3. bundle exec rails stimulus_reflex:install

导轨中止!不知道如何构建任务 'stimulus_reflex:install'

【问题讨论】:

    标签: ruby-on-rails-6 stimulus-reflex


    【解决方案1】:

    刺激反射有一个服务器和一个客户端部分。使用纱线,您只需添加客户端部分。您需要通过将stimulus_reflex 添加到您的Gemfile 或运行bundle add stimulus_reflex 来安装bundle add stimulus_reflex

    文档解释了如何设置它:https://docs.stimulusreflex.com/setup

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-07-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-01
      相关资源
      最近更新 更多