-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
I have a warning when build a React Native app with Expo:
The package .../node_modules/@tabler/icons-react-native contains an invalid package.json configuration. Consider raising this issue with the package maintainer(s).
Reason: The resolution for ".../node_modules/@tabler/icons-react-native" defined in "exports" is .../node_modules/@tabler/icons-react-native/dist/esm/tabler-icons-react-native.cjs, however this file does not exist. Falling back to file-based resolution.
In the package.json (at least for @tabler/icons-react-native), we can see:
"exports": {
".": {
"require": {
...
},
"import": {
...
"default": "./dist/esm/tabler-icons-react-native.cjs"
}
}However in the package's files, the esm dir contains only .mjs files.
Package
- @tabler/icons
- @tabler/icons-eps
- @tabler/icons-pdf
- @tabler/icons-png
- @tabler/icons-webfont
- @tabler/icons-sprite
- @tabler/icons-preact
- @tabler/icons-react
- @tabler/icons-react-native
- @tabler/icons-solid
- @tabler/icons-svelte
- @tabler/icons-vue
- Figma plugin
- source/main
- other/not relevant
Version
3.31.0
Browser
- Chrome/Chromium
- Firefox
- Safari
- Edge
- iOS Safari
- Opera
- Other/not relevant
Operating system
- Windows
- Linux
- macOS
- ChromeOS
- iOS
- Android
- Other/not relevant
Steps to reproduce
Nothing special to do.
Checklist
- I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working