Open Kyle-Mendes opened 6 years ago
Have you added the following to rn-cli.config.js
:
const path = require('path');
const getConfig = require('metro-bundler-config-yarn-workspaces')
const options = { nodeModules: path.resolve(__dirname, '..', '..') }
module.exports = getConfig(__dirname, options)
If you keep your individual packages in anything that's not top level, this approach doesn't seem to work.
running
yarn start
in thenative
directory results in:moving
native
andweb
outside of packages solves this problem.