-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I am getting this error when I try to import Autocomplete.
This is the full error I am getting
./node_modules/@telenko/react-native-paper-autocomplete/index.ts 4:7
Module parse failed: Unexpected token (4:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| export { FlatDropdown, ModalDropdown, memoCompare } from "./src/Dropdown";
| export { Autocomplete };
> export type { DropdownProps } from "./src/Dropdown";
| export type { AutocompleteProps } from "./src/Autocomplete/types";
|
I did not have typescript installed. I did install it and tried removing all node_modules and package_lock and rerunning npm install but it is still giving the same error.
Do you have any ideas?
Thanks
Metadata
Metadata
Assignees
Labels
No labels