Having trouble installing a tile in POS app and creating new files in POS ui extensions code

Having trouble installing a tile in POS app and creating new files in POS ui extensions code

wilson_jake
Shopify Partner
3 0 0

Hey guys,

I am facing some issues in Shopify POS UI Extensions, they are:

1. I created a file name `Myscreen.jsx` inside `src` directory and import this file inside 'index.jsx' file like that:

import { SmartGridLayModal, SmartGridLayTile } from './Myscreen';

But it throwing error during npm run dev and error is:

[ERROR] Could not resolve "./Myscreen"
See image: https://drive.google.com/file/d/1dEOjWtXIDVefZbM_FurWpov1q3XWK60t/view?usp=drive_link

2. I followed the installation process for pos ui extension and then run the 'npm run dev' command in terminal and in POS mobile app i am getting an error during adding a tile from my created app.

There was a problem updating the smart grid. Please try again.

Tile error: Unknown tile, This action is not supported on this version
See image: https://drive.google.com/file/d/1QNIGMqdmAGWf-WZHf7hUj_0zUe8p-x9A/view?usp=drive_link

As i am working first time with pos app, not able to figure our what is the fix for these errors. Please help.

Replies 0 (0)