React-native: Cannot require node's util module

Created on 31 Mar 2015  路  3Comments  路  Source: facebook/react-native

I got this when trying requiring fluxxor on react native.

image

I thought util module should be part of node js and I don't need to install it manually.

Locked

Most helpful comment

For now, it should work if you do npm install util. Let's track the issue here #447

All 3 comments

It seems this is duplicated of https://github.com/facebook/react-native/issues/375
So React Native doesn't (and won't) support node runtime, right?

For now, it should work if you do npm install util. Let's track the issue here #447

Was this page helpful?
0 / 5 - 0 ratings