简体   繁体   English

找不到 x86_64-darwin-21 的 tailwindcss 可执行文件

[英]Cannot find the tailwindcss executable for x86_64-darwin-21

Add bin/dev to start foreman create bin/dev Compile initial Tailwind build run rails tailwindcss:build from "."添加 bin/dev 以启动工头 create bin/dev 编译初始 Tailwind 构建运行 rails tailwindcss:build from "." ERROR: Cannot find the tailwindcss executable for x86_64-darwin-21 in /Users/khan/.rvm/gems/ruby-3.0.3/gems/tailwindcss-rails-2.0.2/exe If you're using bundler, please make sure you're on the latest bundler version:错误:在 /Users/khan/.rvm/gems/ruby-3.0.3/gems/tailwindcss-rails-2.0.2/exe 中找不到 x86_64-darwin-21 的 tailwindcss 可执行文件确保您使用的是最新的捆绑程序版本:

gem install bundler bundle update --bundler gem install bundler 捆绑更新 --bundler

Then make sure your lock file includes this platform by running:然后通过运行确保您的锁定文件包含此平台:

bundle lock --add-platform x86_64-darwin-21 bundle install捆绑锁 --add-platform x86_64-darwin-21 捆绑安装

See bundle lock --help output for details.有关详细信息,请参见bundle lock --help output。

  1. Try add platform as the tips:尝试添加平台作为提示:
bundle lock --add-platform x86_64-darwin-21
bundle install
  1. Try unset force_ruby_platform尝试取消设置force_ruby_platform
bundle config unset force_ruby_platform
# or
bundle config set --local force_ruby_platform false

bundle install

More information: https://github.com/rails/tailwindcss-rails更多信息: https://github.com/rails/tailwindcss-rails

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 安装 jekyll-polyglot 的困难:“找不到 gem 'helper x86_64-darwin-19'” - Difficulties installing jekyll-polyglot: "Could not find gem 'helper x86_64-darwin-19'" Rails 6 - 开发和生产之间的 Nokogiri LoadError 冲突(x86_64-darwin 和 x86_64-linux) - Rails 6 - Nokogiri LoadError conflict between development and production (x86_64-darwin & x86_64-linux) rbenv-为什么使用root权限安装x86_64-darwin-13? - rbenv - any reasons why x86_64-darwin-13 is installed with root perms? BUG分段故障红宝石2.0.0p481(2014-05-08修订版45883)x86_64-darwin13.2.0 - BUG Segmentation fault ruby 2.0.0p481 (2014-05-08 revision 45883) x86_64-darwin13.2.0 如何解决此错误:“您的捆绑包仅支持平台 [],但您的本地平台是 [“ruby”、“x86_64-darwin-19”],并且没有兼容...” - How do I fix this error: "Your bundle only supports platforms [] but your local platforms are ["ruby", "x86_64-darwin-19"], and there's no compati..." 找不到simplecov可执行文件 - Cannot find simplecov executable 在您的 Gemfile 中列出的任何 gem 源中找不到 gem 'nested-scaffold x86_64-linux' - Could not find gem 'nested-scaffold x86_64-linux' in any of the gem sources listed in your Gemfile 努力在OSX Lion上安装pg gem-“缺少文件x86_64所需的体系结构x86_64” - Struggling to install pg gem on OSX Lion - “missing required architecture x86_64 in file for architecture x86_64” webkit_server无法找到可执行文件 - webkit_server Cannot find executable 找不到gem'rails x86-mingw32' - Could not find gem 'rails x86-mingw32'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM