gpt4 book ai didi

ruby - 错误 : You cannot use gems with Shopify CLI

转载 作者:行者123 更新时间:2023-12-05 09:04:40 25 4
gpt4 key购买 nike

我是 Shopify 主题开发的新手。目前正在学习 Shopify 的教程。一切进展顺利,但每次运行“Shopify theme serve”时都会出现以下错误:

[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 上的注意部分.

关于ruby - 错误 : You cannot use gems with Shopify CLI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68376154/

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