I am using overmind in react-native. while compiling metro bundler sends this error.
error: Error: While trying to resolve module phoenix from file {app_name}/node_modules/overmind-graphql/lib/index.js, the package {app_name}/node_modules/phoenix/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved ({app_name}/node_modules/phoenix/index. Indeed, none of these files exist.
I am using overmind in react-native. while compiling metro bundler sends this error.
error: Error: While trying to resolve module
phoenix
from file{app_name}/node_modules/overmind-graphql/lib/index.js
, the package{app_name}/node_modules/phoenix/package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved ({app_name}/node_modules/phoenix/index
. Indeed, none of these files exist.