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?
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 rannpm 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?