Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit 4049e49

Browse files
giannismacherassatya164
authored andcommitted
fix: fix typo in filename (#52)
After updating to version 2.0.0, I could not build the app due to this error: > error While trying to resolve module `react-navigation-material-bottom-tabs` from file `[FILE PATH]`, the package `[PATH]/node_modules/react-navigation-material-bottom-tabs/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`[PATH]/node_modules/react-navigation-material-bottom-tabs/src/index.js`. > Indeed, none of these files exist: > * `/home/giannis/Desktop/Programming/Randomizer/node_modules/react-navigation-material-bottom-tabs/src/index.js(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)` > * `/home/giannis/Desktop/Programming/Randomizer/node_modules/react-navigation-material-bottom-tabs/src/index.js/index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)`. Run CLI with --verbose flag for more details.
1 parent c536122 commit 4049e49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Material Bottom Tab Navigation component for React Navigation",
55
"main": "lib/commonjs/index.js",
66
"module": "lib/module/index.js",
7-
"react-native": "src/index.js",
7+
"react-native": "src/index.tsx",
88
"files": [
99
"src",
1010
"lib"

0 commit comments

Comments
 (0)