Hi Team,
I am facing issue when creating build using { yarn run build }. with this command its failing and giving type error like
yarn run v1.22.19
$ tsc && vite build
src/app/...../components/add/cards/ConnectedAccounts.tsx:3:55 - error TS2307: Cannot find module '../SettingsModel' or its corresponding type declarations.
3 import { connectedAccounts, IConnectedAccounts } from "../SettingsModel";
~~~~~~~~~~~~~~~~~~
But when I am using command { yarn vite build }, it build is successful but after uploading on server it not loading and in network showing "<noscript>You need to enable JavaScript to run this app.</noscript>"
Please help
Hi,
Thank you for reaching out to us.
Could you please clarify which Metronic version you are using?
Please ensure that file SettingsModel.ts exists in your project and it exports the connectedAccounts object and IConnectedAccounts interface.
Regards,
Lauris Stepanovs,
Keenthemes Support Team