Original error: unable to find a variable process (http 10.0.2.2:8081) - how to stop it?

I had a problem creating my responsive project. When I try to build it, I get this error: referenceerror cannot find the process variable http 10.0.2.2:8081.

I tried downgrading from response-native@0.37.0 to @ 0.30.0 (where I started) back to @ 0.33.1 to no avail.

I tried using npm, I react @ 15.2.1 --save to lower my reaction, and I get these errors: npm WARN response-addons-create-fragment@15.4.0 requires a peer-to-peer response @ ^ 15.4.0, but none of them were installed. npm WARN response-addons-shallow-compare@15.4.0 requires a peer-to-peer response @ ^ 15.4.0, but none have been installed. npm WARN response-native@0.33.1 requires peer-to-peer interaction @ ~ 15.3.1, but none of them have been installed. npm ERR! code 1

Can't I get the correct combination of react-native@0.3 ?.? with reaction @ 15.? to run my application. Does anyone have any suggestions as to why this is happening? Understanding how to solve the problem is one thing, but I don’t understand why this is happening.

// 11/30

I managed to get it to work as follows:

"dependencies": { "react": "^15.3.2", "react-native": "^0.35.0" }, 
+5
source share

Source: https://habr.com/ru/post/1260024/


All Articles