Skip to content

Transforming issue in android #65

@Tayyab100

Description

@Tayyab100

Hi,

I am facing issue in android when react packager transform modules. RN packager tries to load ActivityView.android.js but it could not load. I am getting following error:
The development server returned response error code: 500

URL: http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false

Body:
{"from":"{ProjectDirectory}\node_modules\react-native-activity-view\ActivityView.android.js","to":"warning","message":"Unable to resolve module warning from {ProjectDirectory}\\node_modules\\react-native-activity-view\\ActivityView.android.js: Module does not exist in the module map or in these directories:\n {ProjectDirectory}\node_modules\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n 1. Clear watchman watches: watchman watch-del-all.\n 2. Delete the node_modules folder: rm -rf node_modules && npm install.\n 3. Reset packager cache: rm -fr $TMPDIR/react-* or npm start --reset-cache.","name":"UnableToResolveError","type":"UnableToResolveError","errors":[{}]}
onResponse
DevServerHelper.java:332
execute
RealCall.java:126
run
NamedRunnable.java:32
runWorker
ThreadPoolExecutor.java:1113
run
ThreadPoolExecutor.java:588
run
Thread.java:818

I have done all the steps that is given in error but could not resolve error. RN packager stuck at 99.7% as showing in attached picture. This was working fine with react native version 0.39 and activity view release version 0.2.5. Now I upgraded RN version to 0.42.3 and activity view version 0.2.11 and facing this issue after upgradation.
untitledss

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions