cd extension && npm i && cd ..
cd frontend && npm i && cd ..If you need to add to the Utility extension, you will need to download it separately & install it locally:
cd ..
git clone git@gitlab.com:apite/shopgate/connect-engage/shopware6-utility.git
cd ext-shopware6-user/extension
npm run utility:developYou can set up the ENV variables when running sgconnect or use a local .env file.
SW_ENDPOINT=http://localhost SW_ACCESS_KEY=SWSCMMJTYLVIT1LBMJQWDLNSRG node $(which sgconnect) backend startIn [root]/extension create an .env file with content like this:
SW_ENDPOINT: "http://localhost"
SW_ACCESS_KEY: "SWSCMMJTYLVIT1LBMJQWDLNSRG"
SW_LANG_ID: "2fbb5fe2e29a4d70aa5854ce7ce3e20b"Run:
cd [root]/extension
node -r dotenv/config $(which sgconnect) backend startNo route found for "GET http://example.com/store-api/sgwebcheckout/login/token"- SW6 Connect plugin is not enabled/installedCannot read property 'data' of undefined- this error happens because Shopware 6 API client receives an error format it did not expect. This is a little tricky to work around!