Error: You cannot use gems with Shopify CLI
Error: You cannot use gems with Shopify CLI
我是 Shopify 主题开发的新手。目前正在学习 Shopify 的教程。一切进展顺利,但每次 运行“Shopify 主题服务”时我都会收到以下错误:
[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- wdm
They are disabled.
Please don't modify the CLI locally.
If you would like to contribute to the CLI project, please refer to
https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
X You are not authorized to edit themes on banana-man-co.myshopify.com.
Make sure you are a user of that store, and allowed to edit themes.
此外,我知道它说我无权编辑主题,但我很确定我是以管理员身份登录的。有人知道如何解决这个问题吗?
运行
gem install wdm
在命令提示符下。
那你就不会看到这个问题了,但还是会看到
X You are not authorized to edit themes on banana-man-co.myshopify.com.
Make sure you are a user of that store, and allowed to edit themes.
遵循 https://shopify.dev/themes/tools/cli/getting-started 上的警告 部分。
对于 arch linux,其中 shopify-cli 安装使用:
gem install shopify-cli
您需要安装 Bundler:
gem install bundler
在 archlinux ruby wiki 中查看更多详细信息。希望这对某人有所帮助。
我是 Shopify 主题开发的新手。目前正在学习 Shopify 的教程。一切进展顺利,但每次 运行“Shopify 主题服务”时我都会收到以下错误:
[Note] You cannot use gems with Shopify CLI.
[LoadError] cannot load such file -- wdm
They are disabled.
Please don't modify the CLI locally.
If you would like to contribute to the CLI project, please refer to
https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md
Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
X You are not authorized to edit themes on banana-man-co.myshopify.com.
Make sure you are a user of that store, and allowed to edit themes.
此外,我知道它说我无权编辑主题,但我很确定我是以管理员身份登录的。有人知道如何解决这个问题吗?
运行
gem install wdm
在命令提示符下。
那你就不会看到这个问题了,但还是会看到
X You are not authorized to edit themes on banana-man-co.myshopify.com.
Make sure you are a user of that store, and allowed to edit themes.
遵循 https://shopify.dev/themes/tools/cli/getting-started 上的警告 部分。
对于 arch linux,其中 shopify-cli 安装使用:
gem install shopify-cli
您需要安装 Bundler:
gem install bundler
在 archlinux ruby wiki 中查看更多详细信息。希望这对某人有所帮助。