Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello there,
I wanted to create a web pixel extension for my shopify app, so I followed the instructions on the official shopify pixel extension creation guide: https://shopify.dev/apps/pixels/pixels-getting-started
When I'm trying to build the app, it outputs the following error:
extensions | flaminjoy-galleries-pixel (C:\projects\productlead.me\shopify\flaminjoy-galleries-pixel\node_modules\.bin\shopify-cli-extensions:2
extensions | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
extensions | ^^^^^^^
extensions |
extensions | SyntaxError: missing ) after argument list
extensions | at Object.compileFunction (node:vm:352:18)
extensions | at wrapSafe (node:internal/modules/cjs/loader:1033:15)
extensions | at Module._compile (node:internal/modules/cjs/loader:1069:27)
extensions | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
extensions | at Module.load (node:internal/modules/cjs/loader:981:32)
extensions | at Function.Module._load (node:internal/modules/cjs/loader:822:12)
extensions | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
extensions | at node:internal/main/run_main_module:17:47)
━━━━━━ Error ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Command failed with exit code 1: C:/Users/CWR-VladislavS/AppData/Local/shopify-cli-nodejs/Cache/vendor/binaries/extensions/3.9.0-windows-amd64.exe build -
flaminjoy-galleries-pixel (C:\projects\productlead.me\shopify\flaminjoy-galleries-pixel\node_modules\.bin\shopify-cli-extensions:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47)
Tried to create a blank app node template, run scaffold script but it didn't work, tried to change different terminals, cmd, powershell, I think the script is broken
Thanks,
Awaitin some responses/thoughts
Solved! Go to the solution
This is an accepted solution.
Solution: Shopify version 3.9.2 solved this problem.
This is an accepted solution.
Solution: Shopify version 3.9.2 solved this problem.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024