gnikyt / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
1.24k stars 374 forks source link

App Extension Set up Issue #1265

Open benson336 opened 1 year ago

benson336 commented 1 year ago

I am currently setting up App Extension by following this guide by @tanseercena but ran into an issue . As shown below, is this the correct way of setting up the app extension path? I created a new "app_extension" directory and ran npm install in "app_extension" root. But when I ran npm run shopify, the terminal is giving me the error "SyntaxError: Cannot use import statement outside a module". Not sure what I did wrong. Did anyone run into same problem?

Screen Shot 2022-11-15 at 9 33 39 AM

Screen Shot 2022-11-15 at 2 29 49 PM
Kyon147 commented 1 year ago

I've not seen this issue before, have you tried posting the in the Shopify CLI package?