React-native-router-flux: unknown module fbjs/lib/invariant

Created on 6 Aug 2016  路  6Comments  路  Source: aksonov/react-native-router-flux

Version

"react": "15.2.1",
"react-native": "0.31.0",
"react-native-router-flux": "^3.33.2"

Most helpful comment

npm i -S fbjs

All 6 comments

npm i -S fbjs

Hi @vairabagni looks like this is a general React/React native question. Are you sure this question is related to RNRF? Otherwise can you please close this so we can keep the issues thread concise and clean?

This is an error which was thrown when i tried to integrate this library with latest react-native framework.
And this error is because of your library. It is now incompatible with latest react-native. The version info is given above.

Thanks @tetriscode

By installing fbjs, it works now. But can you mention this library as a dependency so that I do not have to install it separately.

When i got this error one time, the fix was surprisingly simple. I just stopped and restarted the package manager. embarassingly, this was after a very long time fiddling with various package.json dependencies. If you get this, give that a shot- it worked for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fgrs picture fgrs  路  3Comments

basdvries picture basdvries  路  3Comments

YouYII picture YouYII  路  3Comments

sreejithr picture sreejithr  路  3Comments

sylvainbaronnet picture sylvainbaronnet  路  3Comments