Debug problem with PhpStorm IDE

#1

Hi all,

I will need your help please.
I can not debug from PhpStorm. With Chrome I do not have any problem.
When I run the Debugger in Expo by selecting “Debug JS Remotely”, I get the following error message:

Failed to load http://192.168.56.1:19001/node_modules/expo/AppEntry.delta?platform=android&dev=true&minify=false&hot=false&assetPlugin=C%3A\DevProjets\ReactNative\PROD\RMS\node_modules\expo\tools\hashAssetFiles: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:19001’ is therefore not allowed access. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.
Uncaught (in promise) TypeError: Failed to fetch

I have the latest version of expo: v2.24.4.
I use the Genymotion emulator, Host LAN.

Here is my setting:
“expo”: “^ 27.0.1”,
“react”: “16.3.1”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-27.0.0.tar.gz”,
“react-redux”: “^ 5.0.7”,
“redux”: “^ 4.0.0”

Thank you for your help.

Fred

#2

hi! sorry we don’t support phpstorm ide explicitly, you may have to figure this one out on your own, or you could try creating an issue on their support forum

closed #3

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.