-
Notifications
You must be signed in to change notification settings - Fork 224
Description
Please confirm that you have:
- Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
App
Expected behavior
After the shopify app dev command starts the local server successfully and without any build errors, the new extension should be visible and accessible in the customer account preview.
Specifically:
- A new navigation link should appear in the account page's menu. The text of this link should match the
labelproperty in the extension'sshopify.extension.tomlfile. - The main
/accountpage should load without redirecting to/account/orders. - Clicking the new navigation link should take the user to the new page (e.g., at
/account/points). - This new page should correctly render the content of the React component from the extension's
srcdirectory.
Actual behavior
Describe the bug
After a completely successful setup process (npm init, shopify app dev runs without errors), the Customer Account UI extension does not appear in the preview.
- The dev server starts successfully and shows the preview URL.
- The terminal shows no build errors for the extension.
- However, when opening the preview, the extension link/block is not present in the customer account page's HTML source (the
menu-datadoes not include the extension). - Accessing
/accountredirects to/account/orders.
This happens even after trying to render both a full page (customer-account.page.render) and a block on the index page (customer-account.index.render).
Reproduction
- Run
npm init @shopify/app@latest -- --package-manager yarn - Choose Remix & JavaScript.
cdinto the new project.- Run
shopify app generate extension. - Choose "Customer Account UI" and any template (e.g., Full page).
- Run
shopify app dev. - Open the preview. The extension is not visible.
What we've already tried
We have performed extensive troubleshooting, including:
- Resolving all macOS
EACCESpermission errors. - Using
yarnto fixERESOLVEdependency conflicts. - Creating a new Shopify Partner account and a new dev store.
- Re-authenticating the CLI with
shopify auth logout. - Deleting the app from the Partner Dashboard and re-creating it with
shopify app dev --reset. - Manually fixing
package.jsondependencies for the extension. - Completely reinstalling all
node_moduleswithyarn install. - Restarting the
devserver multiple times.
Despite the dev server reporting a successful build, the extension is never injected into the customer account page. This seems to be a platform or CLI bug.
Environment information
shopify version
3.81.2
node -v
v22.16.0
npm -v
10.9.2
yarn --version
1.22.22
- OS: macOS
Verbose output
Verbose output
Paste the output here!
Reproduction steps
Operating System
Mac OS 14.6.1
Shopify CLI version (shopify --version)
3.81.2
Shell
No response
Node version (run node -v if you're not sure)
No response
What language and version are you using in your application?
No response