Closed burakkbilginn closed 1 year ago
The last error output after I installed react-native-vector-icons is this:
Have you tried opening this issue against react-native-vector-icons
?
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Description
Whenever I try to install a library in React, this error comes very oftenly. Sometimes it gives the same error even when I import a file from the local storage like "./src/comp". It wasn't giving such errors before, maybe it is because of new version updates or smt else. Also, it doesn't give such errors in react-web-apps, only when doing mobile apps. The last error output after I installed react-native-vector-icons is this:
As can be seen, I guess it doesn't find the files inside most of the import statements(there is an arrow under the dot).
This is another error output:
What should I do?
Version
0.69
Output of
npx react-native info
System: OS: Windows 10 10.0.19041 CPU: (4) x64 Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz Memory: 3.14 GB / 11.79 GB Binaries: Node: 16.15.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD npm: 8.13.1 - C:\Program Files\nodejs\npm.CMD Watchman: 20220320.140531.0 - C:\ProgramData\chocolatey\bin\watchman.EXE SDKs: Android SDK: Android NDK: 22.1.7171670 Windows SDK: Not Found IDEs: Android Studio: Version 2021.1.0.0 AI-211.7628.21.2111.8139111 Visual Studio: Not Found Languages: Java: 11.0.14.1 - C:\Program Files\OpenJDK\openjdk-11.0.14.1_1\bin\javac.EXE npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.69.1 => 0.69.1 react-native-windows: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
Even when I create projects by
react-native init anyProject
such unresolved module errors come. Also I cannot create mobile project without adding the version spesificly, I mean like this : "react-native init ProjectName --version 0.68.2" Is it a bug? Or am I doing something wrong?Snack, code example, screenshot, or link to a repository