Closed maniac-tech closed 1 month ago
This seems to be related to the missing index.js at the root in the typescript package 🤔
Have not used with react native but have been using with in other FE projects. Don't think this should be an issue. Try clearing npm cache and removing node_modules.
Have not used with react native but have been using with in other FE projects. Don't think this should be an issue. Try clearing npm cache and removing node_modules.
I figured the issue. It is the lack of index.js, I was able to bypass this issue by tweaking the import as below:
import { getTransactionInfo } from 'transaction-sms-parser/dist/lib';
I'm submitting a ...
Summary I intend to use this in a react-native based application, but I'm facing an error while importing it. Have you tested it ?
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.) The error I see in expo is:
Unable to resolve "transaction-sms-parser" from "components/x/y.js"