mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-12 09:21:09 +08:00
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.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"description": "Material Bottom Tab Navigation component for React Navigation",
|
||||
"main": "lib/commonjs/index.js",
|
||||
"module": "lib/module/index.js",
|
||||
"react-native": "src/index.js",
|
||||
"react-native": "src/index.tsx",
|
||||
"files": [
|
||||
"src",
|
||||
"lib"
|
||||
|
||||
Reference in New Issue
Block a user