-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Failing to bundle extension on shopify app dev
#4361
Comments
Hey @asoong , thanks for reporting this and sorry you are running into problems. I haven't been able to reproduce the issue on my end so far. It would help if we could see the full |
Hi! Are you using Yarn 2.x or above? Because the CLI is only compatible with Yarn classic (1.x). Or NPM or PNPM. We'll update the requirements here, because that was removed by mistake recently. |
I'm getting the same issue here Node version 18.20
The extension only contains :
It doesn't even work when I generate a new extension as it throws the same error. EDIT: adding verbose logs
|
@md-brethren that looks like a different error. Could you please open a new issue and add as many details as you can? |
@gonzaloriestra thought it was pretty similar due to the same extension bundle error. |
I'm running yarn 1.22.1 |
@asoong I can't reproduce this using yarn 1.22.19, doing a quick search online seems like this could be related to your system. Maybe this stackoverflow answer might help? https://stackoverflow.com/a/76902985 let me know if it works |
Closing for now, if you still have issues post a comment and I'll reopen the issue @asoong |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Extension
Expected behavior
It should properly build the extension and load it.
Actual behavior
Getting the following output below in console when running shopify app dev.
I started off doing this and getting the error in a private repo and got the same error when creating a new app and extension from scratch, detailed in the reproduction steps.
It seems to have trouble building the extension (no dist ouput) despite using the shopify cli to scaffold the extension. Is there a system dependency that the cli depends on to build the extension?
Verbose output
The output is similar, the prior output suggests it successfully sets up a tunnel and then attempts to build the extension.
Reproduction steps
shopify app init
, chooseRemix
,TypeScript
shopify app generate extension
, chooseAdmin action
shopify app dev
Operating System
macOS Sonoma 14.5
Shopify CLI version (check your project's
package.json
if you're not sure)3.66.0
Shell
No response
Node version (run
node -v
if you're not sure)v22.5.1
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: