keras-js icon indicating copy to clipboard operation
keras-js copied to clipboard

React Native (Node Standard Library)

Open ghost opened this issue 7 years ago • 2 comments

React Native displays this error regarding Node Standard Library.. Any solution to this??

The package at "...\node_modules\keras-js\lib\Model.js" attempted to import the Node standard library module "fs". It failed because React Native does not include the Node standard library. Read more at https://docs.expo.io/versions/latest/introduction/faq.html#can-i-use-nodejs-packages-with-expo

ghost avatar Feb 01 '18 02:02 ghost

This is not gonna work

ygorlazaro avatar May 03 '18 19:05 ygorlazaro

Try This to import node Standard libraries:

https://github.com/tradle/rn-nodeify

jeffreyflynt avatar Jul 09 '18 03:07 jeffreyflynt