react-native-router-flux icon indicating copy to clipboard operation
react-native-router-flux copied to clipboard

Module not found: Can't resolve '@react-navigation/core'

Open chilarai opened this issue 4 years ago • 3 comments

Version

Tell us which versions you are using: react v17.0.2 react-native-router-flux v4.3.1 react-native v0.66.3

Expected behaviour

Actual behaviour

I have this basic React Native Code which fails to compile as soon as I import anything from react-native-router-flux. It throws Module not found: Can't resolve '@react-navigation/core'

If I uncomment line import { Router, Scene } from "react-native-router-flux";, everything works fine. I also manually did npm install @react-navigation/core but to no avail. The file actually exists in my node_modules folder

Steps to reproduce

Reproducible Demo

import React from "react";
import { Router, Scene } from "react-native-router-flux";

class Index extends React.Component {
    render() {
        return <div></div>
    }
}

export default Index;

chilarai avatar Nov 12 '21 18:11 chilarai

I'm seeing similar problems here when trying to upgrade an older app's dependencies. I suspect this project may no longer be maintained.

jameswilddev avatar Nov 21 '21 09:11 jameswilddev

@jameswilddev it seems so.

chilarai avatar Nov 22 '21 19:11 chilarai

I am facing also same issue for that so please solve this issue as soon as possible i am facing this issue on reac-native 0.69.5 and all other versions & react-native-router-flux 4.3.1

Siliconvelly avatar Aug 27 '22 08:08 Siliconvelly