13 questions
0
votes
1
answer
135
views
An error occurred while launching the application. spawn EINVAL (error code 303)
I have my Expo project running on port 8081. I start it with the command:
npx expo start
I open it on my phone using the Expo Go app (SDK 52).
I’m trying to set up debugging in VS Code using ...
0
votes
1
answer
4k
views
Toast React Native from 'react-native-toast-notifications'
I use react-native-toast-notification from https://github.com/arnnis/react-native-toast-notifications#readme
I want customized toast, if successful to show a green toast, while on failure a red toast ...
0
votes
0
answers
442
views
React-Native Realm DB - exception only in debug mode upon insertion: "_id field must be of type 'uuid', got 'object' ([object Object])"
I am building a React-Native app that uses Realm DB as the underlying database.
While implementing basic insertion methods I encountered exceptions when attempting to insert a new object with a unique ...
6
votes
1
answer
3k
views
How to debug react-native-web with Expo and vscode?
I am trying to find how react-native-web apps (specifically using Expo and vscode) can be debugged.
I found guidance neither in the web, nor in the react-native-web's own site.
The debug ...
5
votes
0
answers
1k
views
How to configure React Native Tools to use app.config.js instead of app.json
I am debugging my React Native expo application with the following launch.json configuration in vscode:
{
"name": "Debug in Exponent",
"cwd": "${workspaceFolder}&...
1
vote
1
answer
2k
views
com.facebook.react.commot.JavascriptException: Invalid or unexpected token
I'm trying to debug my android app with react native v0.66.1 and react native tools v1.8.1 in vsCode. But after running the app and attach to packager, or launch in debug mode,
I got this error com....
0
votes
2
answers
4k
views
How to update other fields based on a field value in forms of React Native?
I have 4 input fields as below.
name,count,amount,price.
And two text fields, commission and total.
If user enter values at price and count then amount(price * count) should be calculated.
If user ...
0
votes
1
answer
395
views
Extension host terminated unexpectedly while debugging React-native project
Developer console when the error occurs.
Any methods without disabling react-native-tool extension?
3
votes
0
answers
502
views
React native vscode extension not working after few minutes
Vscode react native extensions stopped after few minutes like import relative path suggestions ,go to definition, style suggestion, constant redirect.
I already tried to reinstall all the react ...
14
votes
4
answers
17k
views
Can't debug expo project on vscode
I have an expo project, which we can run and build and it works correctly in android and iOS. What I want is to debug said project using my Visual Studio Code.
I followed some guides and tried the ...
0
votes
1
answer
715
views
React-native debug build crash on start: Error: java.lang.NoClassDefFoundError: com.facebook.react.modules.fresco.SystraceRequestListener
I am trying to create a debug build of my app in react-native. It worked previously and the problem started after I used react-native-tools extension package for VSCode text editor and attached its ...
1
vote
1
answer
937
views
breakpoints are greyed out vs code react-native-tools debug
No matter if I choose "Attach to packager" configuration running packager with
react-native start
first or "Debug Android", breakpoints that I set in vs code are greyed out and are not get hit.
...
1
vote
1
answer
1k
views
React Native Tools VSCode Debugging Issue
Hope someone could help me out a little. I am trying to do some mobile development using react native, I am a C# web/software developer. I am developing using VSCode and installed the react native ...