Categories
Mastering Development

React-native: Could not resolve module masked-view from @react-navigation\stack\src\views\MaskedViewNative.tsx

I am getting this below error while building react-native app. @react-native-community/masked-view and @react-navigation\stack are up to date but not sure why this package is not being resolved while building. error: Error: While trying to resolve module `@react-native-community/masked-view` from file `C:\..\..\node_ modules\@react-navigation\stack\src\views\MaskedViewNative.tsx`, the package `C:\..\..\node_modules\@react-n ative-community\masked-view\package.json` was successfully found. However, this package itself specifies a `main` […]

Categories
Mastering Development

Missing modules used in the passport module in React Native

I’m currently working with Passport.js for sessions in my React Native app. After setting the server up and getting the code ready, I tried to run the app but was faced with a series of odd errors causing the build to fail. First error that shows right after npm run ios is: Error: Unable to […]

Categories
Mastering Development

Caused by: java.lang.Exception: Command `config` unrecognized

After Running Copied React-native project: Caused by: java.lang.Exception: Command config unrecognized. Make sure that you have run npm install and that you are inside a react-native project. I did npm install but it didn’t help. Package.json { “name”: “ProjectName”, “version”: “0.0.1”, “private”: true, “scripts”: { “android”: “react-native run-android”, “ios”: “react-native run-ios”, “start”: “react-native start”, “test”: […]

Categories
Development

Eslint config error. ESLint couldn’t find the config “dev” to extend from

I’m trying to set up eslint to TS react project, but run into err: > eslint . Oops! Something went wrong! 🙁 ESLint: 6.8.0. ESLint couldn’t find the config “dev” to extend from. Please check that the name of the config is correct. The config “dev” was referenced from the config file in “C:\Users\User\Desktop\priority-style-react\example\node_modules\@csstools\convert-colors\package.json”. If […]

Categories
Development

Webpack dev server reloads but doesn’t show Markup or CSS changes?

So i’m pretty new to Webpack, and I finally got the webpack-dev-server running. It recompiles and refreshes page on save, and it shows changes to my JS code. But it doesn’t seem to work well with my SASS or HTML files? On a fresh start, it will show a change if I make it, but […]

Categories
Development

React-navigation-The term ‘pod’ is not recognized as the name of a cmdlet

My operating system(OS) is windows 10. I have created a React-Native project with the following code : react-native init AwesomeProject I want to install React-navigation then do the following steps 🙁based on the React-Navigation documentation) 1- npm install @react-navigation/native 2- npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view 3- When I run the following step I […]